The domain field widget is now adapted to set visible overflow on modal if it iss inline. With that changes, the custom controller for coupon generator is not needed anymore. With this commit, we remove the code related to custom controller of coupon generator that used to set visible overflow on the modal. Task ID-2480625 COM odoo/odoo#68586
25 lines
752 B
Python
25 lines
752 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
{
|
|
'name': "Coupon",
|
|
'summary': "Use discount coupons in different sales channels.",
|
|
'description': """Integrate coupon mechanism in orders.""",
|
|
'category': 'Sales',
|
|
'version': '1.0',
|
|
'depends': ['account'],
|
|
'data': [
|
|
'wizard/coupon_generate_views.xml',
|
|
'security/ir.model.access.csv',
|
|
'security/coupon_security.xml',
|
|
'views/coupon_views.xml',
|
|
'views/coupon_program_views.xml',
|
|
'report/coupon_report.xml',
|
|
'report/coupon_report_templates.xml',
|
|
'data/expire_coupon_cron.xml',
|
|
],
|
|
'demo': [
|
|
'demo/coupon_demo.xml',
|
|
],
|
|
'installable': True,
|
|
}
|