pos_loyalty_extend/__manifest__.py

35 lines
1.5 KiB
Python

# -*- coding: utf-8 -*-
{
'name': 'POS Loyalty Extend',
'version': '1.0',
'category': 'Sales/Point of Sale',
'summary': 'Extends loyalty rewards to support cheapest product applicability and cleaner variant selection in POS.',
'description': """
POS Loyalty Extend
===================
Extends the Odoo 19 Point of Sale loyalty rewards logic.
Key Features:
-------------
* Cheapest Product Applicability: Adds support for "Cheapest Product on Order" applicability for "Buy X Get Y" loyalty rewards.
* Proportional Free Item Calculation: Dynamically scales free product quantities based on earned/required points.
* Multi-Product Reward Lines: Applies discounts across the N cheapest unique products in the cart, instead of multiplying discounts on the single cheapest product.
* Auto-Claim in POS: Simplifies the customer flow by automatically applying cheapest-product rewards without manual selection.
""",
'author': 'Suherdy Yacob',
'depends': ['point_of_sale', 'pos_loyalty', 'sale_loyalty'],
'data': [
'views/loyalty_reward_views.xml',
],
'assets': {
'point_of_sale._assets_pos': [
'pos_loyalty_extend/static/src/app/models/pos_order.js',
'pos_loyalty_extend/static/src/app/services/pos_store.js',
'pos_loyalty_extend/static/src/app/screens/product_screen/control_buttons/control_buttons.js',
],
},
'installable': True,
'application': False,
'license': 'LGPL-3',
}