diff --git a/product_discount_limit/README.rst b/product_discount_limit/README.rst new file mode 100644 index 000000000..fc66825ec --- /dev/null +++ b/product_discount_limit/README.rst @@ -0,0 +1,40 @@ + +Product Discount Limit +====================== +Product Discount Limit + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: Prayag@cybrosys + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ + + diff --git a/product_discount_limit/__init__.py b/product_discount_limit/__init__.py new file mode 100644 index 000000000..258e220f9 --- /dev/null +++ b/product_discount_limit/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Prayag K (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import models diff --git a/product_discount_limit/__manifest__.py b/product_discount_limit/__manifest__.py new file mode 100644 index 000000000..40bf1ad46 --- /dev/null +++ b/product_discount_limit/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Prayag K (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ + +{ + 'name': 'Product Discount Limit', + 'version': '15.0.1.0.0', + 'summary': """Product Discount Limit""", + 'description': """Product Discount Limit""", + 'category': 'Inventory', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'depends': ['base', 'sale'], + 'website': 'https://www.cybrosys.com', + 'data': [ + 'views/product_product.xml', + 'views/product_category.xml', + 'views/res_users.xml', + ], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/product_discount_limit/doc/RELEASE_NOTES.md b/product_discount_limit/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..b5a4e52a0 --- /dev/null +++ b/product_discount_limit/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 17.02.2023 +#### Version 15.0.1.0.0 +#### ADD + +- Initial commit for product_discount_limit Module - Complete diff --git a/product_discount_limit/models/__init__.py b/product_discount_limit/models/__init__.py new file mode 100644 index 000000000..0e4cbb540 --- /dev/null +++ b/product_discount_limit/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Prayag K (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import product_product +from . import product_category +from . import discount_limit +from . import res_users diff --git a/product_discount_limit/models/discount_limit.py b/product_discount_limit/models/discount_limit.py new file mode 100644 index 000000000..0d9bcaf8c --- /dev/null +++ b/product_discount_limit/models/discount_limit.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Prayag K (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import exceptions, api, models, _ + + +class SalesOrderDiscountLimit(models.Model): + _inherit = 'sale.order.line' + + """Checking the limit of discount allowed for products and category""" + @api.onchange('discount') + def _onchange_discount(self): + if not self.env.user.allow_discount: + if self.product_id.product_tmpl_id.desc_limit > 0: + if self.discount > self.product_id.product_tmpl_id.desc_limit: + raise exceptions.UserError( + _('You are not allowed to apply discount more than %s percentage ' + 'on this product. Please contact your administrator', + self.product_id.product_tmpl_id.desc_limit)) + elif self.product_id.categ_id.desc_limit > 0: + if self.discount > self.product_id.categ_id.desc_limit: + raise exceptions.UserError( + _('You are not allowed to apply discount more than %s percentage ' + 'on this category of products. Please contact your administrator', + self.product_id.categ_id.desc_limit)) diff --git a/product_discount_limit/models/product_category.py b/product_discount_limit/models/product_category.py new file mode 100644 index 000000000..2c529426a --- /dev/null +++ b/product_discount_limit/models/product_category.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Prayag K (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import models, fields + +"""Inherited product.category to add field Discount Limit""" + + +class ProductCategory(models.Model): + _inherit = 'product.category' + + desc_limit = fields.Float("Discount Limit(%)") \ No newline at end of file diff --git a/product_discount_limit/models/product_product.py b/product_discount_limit/models/product_product.py new file mode 100644 index 000000000..f04e4d255 --- /dev/null +++ b/product_discount_limit/models/product_product.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Prayag K (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import models, fields + +"""Inherited product.template to add field Discount Limit""" + + +class ProductTemplate(models.Model): + _inherit = 'product.template' + + desc_limit = fields.Float("Discount Limit(%)") diff --git a/product_discount_limit/models/res_users.py b/product_discount_limit/models/res_users.py new file mode 100644 index 000000000..f0b656a74 --- /dev/null +++ b/product_discount_limit/models/res_users.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Prayag K (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import models, fields + +"""Inherited res.users to add field to allow discount over limit""" + + +class UsersAllowed(models.Model): + _inherit = 'res.users' + + allow_discount = fields.Boolean("Allow Discount Over Limit") diff --git a/product_discount_limit/static/description/assets/icons/check.png b/product_discount_limit/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/check.png differ diff --git a/product_discount_limit/static/description/assets/icons/chevron.png b/product_discount_limit/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/chevron.png differ diff --git a/product_discount_limit/static/description/assets/icons/cogs.png b/product_discount_limit/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/cogs.png differ diff --git a/product_discount_limit/static/description/assets/icons/consultation.png b/product_discount_limit/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/consultation.png differ diff --git a/product_discount_limit/static/description/assets/icons/ecom-black.png b/product_discount_limit/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/ecom-black.png differ diff --git a/product_discount_limit/static/description/assets/icons/education-black.png b/product_discount_limit/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/education-black.png differ diff --git a/product_discount_limit/static/description/assets/icons/hotel-black.png b/product_discount_limit/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/hotel-black.png differ diff --git a/product_discount_limit/static/description/assets/icons/license.png b/product_discount_limit/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/license.png differ diff --git a/product_discount_limit/static/description/assets/icons/lifebuoy.png b/product_discount_limit/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/lifebuoy.png differ diff --git a/product_discount_limit/static/description/assets/icons/logo.png b/product_discount_limit/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/logo.png differ diff --git a/product_discount_limit/static/description/assets/icons/manufacturing-black.png b/product_discount_limit/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/manufacturing-black.png differ diff --git a/product_discount_limit/static/description/assets/icons/pos-black.png b/product_discount_limit/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/pos-black.png differ diff --git a/product_discount_limit/static/description/assets/icons/puzzle.png b/product_discount_limit/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/puzzle.png differ diff --git a/product_discount_limit/static/description/assets/icons/restaurant-black.png b/product_discount_limit/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/restaurant-black.png differ diff --git a/product_discount_limit/static/description/assets/icons/service-black.png b/product_discount_limit/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/service-black.png differ diff --git a/product_discount_limit/static/description/assets/icons/trading-black.png b/product_discount_limit/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/trading-black.png differ diff --git a/product_discount_limit/static/description/assets/icons/training.png b/product_discount_limit/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/training.png differ diff --git a/product_discount_limit/static/description/assets/icons/update.png b/product_discount_limit/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/update.png differ diff --git a/product_discount_limit/static/description/assets/icons/user.png b/product_discount_limit/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/user.png differ diff --git a/product_discount_limit/static/description/assets/icons/wrench.png b/product_discount_limit/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/product_discount_limit/static/description/assets/icons/wrench.png differ diff --git a/product_discount_limit/static/description/assets/modules/1.png b/product_discount_limit/static/description/assets/modules/1.png new file mode 100644 index 000000000..0189cafc7 Binary files /dev/null and b/product_discount_limit/static/description/assets/modules/1.png differ diff --git a/product_discount_limit/static/description/assets/modules/2.png b/product_discount_limit/static/description/assets/modules/2.png new file mode 100644 index 000000000..fb65048fe Binary files /dev/null and b/product_discount_limit/static/description/assets/modules/2.png differ diff --git a/product_discount_limit/static/description/assets/modules/3.png b/product_discount_limit/static/description/assets/modules/3.png new file mode 100644 index 000000000..004c61a9e Binary files /dev/null and b/product_discount_limit/static/description/assets/modules/3.png differ diff --git a/product_discount_limit/static/description/assets/modules/4.png b/product_discount_limit/static/description/assets/modules/4.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/product_discount_limit/static/description/assets/modules/4.png differ diff --git a/product_discount_limit/static/description/assets/modules/5.png b/product_discount_limit/static/description/assets/modules/5.png new file mode 100644 index 000000000..d01ceb1ab Binary files /dev/null and b/product_discount_limit/static/description/assets/modules/5.png differ diff --git a/product_discount_limit/static/description/assets/modules/6.png b/product_discount_limit/static/description/assets/modules/6.png new file mode 100644 index 000000000..3712519fd Binary files /dev/null and b/product_discount_limit/static/description/assets/modules/6.png differ diff --git a/product_discount_limit/static/description/assets/screenshots/S1.png b/product_discount_limit/static/description/assets/screenshots/S1.png new file mode 100644 index 000000000..0b5d08d1c Binary files /dev/null and b/product_discount_limit/static/description/assets/screenshots/S1.png differ diff --git a/product_discount_limit/static/description/assets/screenshots/hero.gif b/product_discount_limit/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..08918f715 Binary files /dev/null and b/product_discount_limit/static/description/assets/screenshots/hero.gif differ diff --git a/product_discount_limit/static/description/assets/screenshots/img1.jpg b/product_discount_limit/static/description/assets/screenshots/img1.jpg new file mode 100644 index 000000000..962636cd4 Binary files /dev/null and b/product_discount_limit/static/description/assets/screenshots/img1.jpg differ diff --git a/product_discount_limit/static/description/assets/screenshots/img2.jpg b/product_discount_limit/static/description/assets/screenshots/img2.jpg new file mode 100644 index 000000000..2d5daa209 Binary files /dev/null and b/product_discount_limit/static/description/assets/screenshots/img2.jpg differ diff --git a/product_discount_limit/static/description/assets/screenshots/img3.jpg b/product_discount_limit/static/description/assets/screenshots/img3.jpg new file mode 100644 index 000000000..7a25eaf92 Binary files /dev/null and b/product_discount_limit/static/description/assets/screenshots/img3.jpg differ diff --git a/product_discount_limit/static/description/assets/screenshots/img4.jpg b/product_discount_limit/static/description/assets/screenshots/img4.jpg new file mode 100644 index 000000000..eeb159c5a Binary files /dev/null and b/product_discount_limit/static/description/assets/screenshots/img4.jpg differ diff --git a/product_discount_limit/static/description/assets/screenshots/img5.jpg b/product_discount_limit/static/description/assets/screenshots/img5.jpg new file mode 100644 index 000000000..159acc8a7 Binary files /dev/null and b/product_discount_limit/static/description/assets/screenshots/img5.jpg differ diff --git a/product_discount_limit/static/description/assets/screenshots/img6.jpg b/product_discount_limit/static/description/assets/screenshots/img6.jpg new file mode 100644 index 000000000..834af6f2a Binary files /dev/null and b/product_discount_limit/static/description/assets/screenshots/img6.jpg differ diff --git a/product_discount_limit/static/description/banner.png b/product_discount_limit/static/description/banner.png new file mode 100644 index 000000000..53f0384a9 Binary files /dev/null and b/product_discount_limit/static/description/banner.png differ diff --git a/product_discount_limit/static/description/icon.png b/product_discount_limit/static/description/icon.png new file mode 100644 index 000000000..e5d6320a5 Binary files /dev/null and b/product_discount_limit/static/description/icon.png differ diff --git a/product_discount_limit/static/description/index.html b/product_discount_limit/static/description/index.html new file mode 100644 index 000000000..a2f8a8b53 --- /dev/null +++ b/product_discount_limit/static/description/index.html @@ -0,0 +1,648 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ Product Discount Limit

+

+ Discount Limit for Products & Product Category +

+ +
+
+ + + +
+
+

+ Overview +

+
+ +
+

+ This module allow to set discount limit for products and product categories.

+
+

+ +
+ + +
+
+

+ Features +

+
+ +
+
+ +
+
+

+ Set discount limit on product +

+
+
+
+
+ +
+
+

+ Set discount limit on product category +

+
+
+
+
+ +
+
+

+ Restrict to apply discount more than discount limit +

+
+
+
+
+ +
+
+

+ Grand discount permission for particular users +

+
+
+
+
+ +
+
+

+ Discount restriction on sale order +

+
+
+
+
+ +
+
+

+ Compatible with community and enterprise +

+
+
+
+ +
+
+

+ Screenshots +

+
+
+

+ Enable Discount

+

+ Using this checkbox we can enable the discount on sales. +

+ + +
+ +
+

+ Discount Limit On Products

+

+ We can set discount limit for each product. +

+ + +
+ +
+

+ Apply Discount

+

+ Can apply discount less than the limit. +

+ +
+
+

+ Warning

+

+ If it exceed the limit, the system show a warning. +

+ +
+ +
+

+ Discount Limit On Category

+

+ We can set discount limit for each category. +

+ +
+ +
+

+ Warning

+

+ If it exceed the limit, the system show a warning. +

+ +
+
+

+ Over Limit Access

+

+ Checking this will allow the Users to give access for skip the discount limit. +

+ +
+
+ +
+
+

Suggested Products

+
+ + +
+
+ + + +
+
+
+

Our Services

+
+
+ +
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+
+ + + +
+
+
+

Our Industries

+
+
+ +
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+ +
+
+ + + + + +
+
+
+

Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file diff --git a/product_discount_limit/views/product_category.xml b/product_discount_limit/views/product_category.xml new file mode 100644 index 000000000..99e64283f --- /dev/null +++ b/product_discount_limit/views/product_category.xml @@ -0,0 +1,19 @@ + + + + + product.category.discount.limit + product.category + + 10 + + + + + + + + + + + \ No newline at end of file diff --git a/product_discount_limit/views/product_product.xml b/product_discount_limit/views/product_product.xml new file mode 100644 index 000000000..cacc73194 --- /dev/null +++ b/product_discount_limit/views/product_product.xml @@ -0,0 +1,15 @@ + + + + + product.template.discount.limit + product.template + + 10 + + + + + + + \ No newline at end of file diff --git a/product_discount_limit/views/res_users.xml b/product_discount_limit/views/res_users.xml new file mode 100644 index 000000000..3a62fa452 --- /dev/null +++ b/product_discount_limit/views/res_users.xml @@ -0,0 +1,19 @@ + + + + + res.users.discount.limit + res.users + + 10 + + + + + + + + + + + \ No newline at end of file