pos_loyalty_safe_coupon/__manifest__.py
2026-05-21 11:08:20 +07:00

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',
}