Due to the new form and list views some of the customisation of loyalty were not working properly anymore. This commit adapts the js customisation inside of loyalty to wowl 2. TaskId-2929488 closes odoo/odoo#96731 Signed-off-by: William Braeckman (wbr) <wbr@odoo.com>
39 lines
1.2 KiB
Python
39 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
{
|
|
'name': 'Coupons & Loyalty',
|
|
'summary': "Use discounts, gift card, eWallets and loyalty programs in different sales channels",
|
|
'category': 'Sales',
|
|
'version': '1.0',
|
|
'depends': ['product'],
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'security/loyalty_security.xml',
|
|
'report/loyalty_report_templates.xml',
|
|
'report/loyalty_report.xml',
|
|
'data/loyalty_data.xml',
|
|
'data/mail_template_data.xml',
|
|
'wizard/loyalty_generate_wizard_views.xml',
|
|
'views/loyalty_card_views.xml',
|
|
'views/loyalty_mail_views.xml',
|
|
'views/loyalty_program_views.xml',
|
|
'views/loyalty_reward_views.xml',
|
|
'views/loyalty_rule_views.xml',
|
|
],
|
|
'demo': [
|
|
'data/loyalty_demo.xml',
|
|
],
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'loyalty/static/src/js/loyalty_control_panel_widget.js',
|
|
'loyalty/static/src/js/loyalty_list_view.js',
|
|
'loyalty/static/src/scss/loyalty.scss',
|
|
],
|
|
'web.assets_qweb': [
|
|
'loyalty/static/src/xml/loyalty_templates.xml',
|
|
],
|
|
},
|
|
'installable': True,
|
|
'license': 'LGPL-3',
|
|
}
|