22 lines
774 B
Python
22 lines
774 B
Python
# -*- coding: utf-8 -*-
|
|
{
|
|
'name': 'POS Loyalty Safe Coupon Patch',
|
|
'version': '1.0',
|
|
'category': 'Point of Sale',
|
|
'summary': 'Fixes TypeError on undefined coupon_id in Odoo POS Loyalty',
|
|
'description': """
|
|
POS Loyalty Safe Coupon Patch
|
|
=============================
|
|
This module overrides POS models and helper methods inside the POS loyalty app to safely handle undefined coupon_id structures, preventing POS interface crashes (e.g. when changing tables or updating loyalty).
|
|
""",
|
|
'author': 'Antigravity',
|
|
'depends': ['pos_loyalty'],
|
|
'assets': {
|
|
'point_of_sale._assets_pos': [
|
|
'pos_loyalty_safe_coupon/static/src/app/pos_loyalty_safe_coupon_patch.js',
|
|
],
|
|
},
|
|
'installable': True,
|
|
'license': 'LGPL-3',
|
|
}
|