32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
{
|
|
'name': 'POS Loyalty Tax Mode',
|
|
'version': '1.0',
|
|
'category': 'Point of Sale',
|
|
'summary': 'Configure reward point mode before or after tax',
|
|
'author': 'Abdul Aziz Amrullah',
|
|
'description': """
|
|
POS Loyalty Tax Mode
|
|
====================
|
|
|
|
Adds a **Tax Option** dropdown to the loyalty rule's "per money spent" reward point mode.
|
|
|
|
When a loyalty rule is configured to grant points per currency spent, this module allows
|
|
you to choose whether the point calculation should be based on:
|
|
|
|
- **Before Tax**: Points are calculated on the subtotal (price excluding tax)
|
|
- **After Tax**: Points are calculated on the total (price including tax) — default Odoo behavior
|
|
""",
|
|
'author': 'Abdul Aziz Amrullah',
|
|
'depends': ['pos_loyalty', 'loyalty'],
|
|
'data': [
|
|
'views/loyalty_rule_views.xml',
|
|
],
|
|
'assets': {
|
|
'point_of_sale._assets_pos': [
|
|
'pos_loyalty_tax_mode/static/src/app/pos_order_patch.js',
|
|
],
|
|
},
|
|
'installable': True,
|
|
'license': 'LGPL-3',
|
|
}
|