diff --git a/customers_dealers_quantity/README.rst b/customers_dealers_quantity/README.rst new file mode 100644 index 000000000..e96699963 --- /dev/null +++ b/customers_dealers_quantity/README.rst @@ -0,0 +1,57 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Customer's Dealers Special Price +================================ +When the dealer ordered a specific product quantity and if it's above the +company's pre-defined criteria then the company can allow some special price to +the dealer. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + + +Credits +------- +Developer: + (V16) Athira Premanand, + (V17) Jumana Haseen, +Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +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/customers_dealers_quantity/__init__.py b/customers_dealers_quantity/__init__.py new file mode 100644 index 000000000..a8391cc86 --- /dev/null +++ b/customers_dealers_quantity/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Athira Premanand (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import models diff --git a/customers_dealers_quantity/__manifest__.py b/customers_dealers_quantity/__manifest__.py new file mode 100644 index 000000000..7bf3f7a9d --- /dev/null +++ b/customers_dealers_quantity/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Athira Premanand (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +{ + 'name': "Customer's Dealers Special Price", + 'version': '17.0.1.0.0', + 'category': 'Sales', + 'summary': """The Dealer will get a Special Price if he Orders the Minimum + Amount of Products""", + 'description': """When the Dealer Ordered a Specific Product + Quantity and if it's above the company's pre-defined criteria then the + company can allow some Special Price to the Dealer.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['sale_management', 'stock', 'account_accountant'], + 'data': [ + 'views/product_product_views.xml', + 'views/res_partner_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/customers_dealers_quantity/doc/RELEASE_NOTES.md b/customers_dealers_quantity/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..36cab62bf --- /dev/null +++ b/customers_dealers_quantity/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 22.04.2024 +#### Version 17.0.1.0.0 +#### ADD + +- Initial Commit for Customer's Dealers Special Price diff --git a/customers_dealers_quantity/models/__init__.py b/customers_dealers_quantity/models/__init__.py new file mode 100644 index 000000000..ead1c3d5d --- /dev/null +++ b/customers_dealers_quantity/models/__init__.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Athira Premanand (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from . import account_move +from . import account_move_line +from . import product_product +from . import res_partner +from . import sale_order +from . import sale_order_line diff --git a/customers_dealers_quantity/models/account_move.py b/customers_dealers_quantity/models/account_move.py new file mode 100644 index 000000000..b61a70a92 --- /dev/null +++ b/customers_dealers_quantity/models/account_move.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Athira Premanand (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import api, models + + +class AccountMove(models.Model): + """This class is to set the dealer price""" + _inherit = "account.move" + + @api.onchange('partner_id') + def _onchange_partner_id(self): + """ + Triggered when the 'partner_id' field is changed. + This method iterates through the invoice lines and calls '_onchange_quantity' for each line. + """ + for lines in self.invoice_line_ids: + lines._onchange_quantity() diff --git a/customers_dealers_quantity/models/account_move_line.py b/customers_dealers_quantity/models/account_move_line.py new file mode 100644 index 000000000..17f9c6f7f --- /dev/null +++ b/customers_dealers_quantity/models/account_move_line.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Athira Premanand (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import api, models + + +class AccountMoveLine(models.Model): + """This class is to set the dealer price""" + _inherit = "account.move.line" + + @api.onchange('product_id', 'quantity') + def _onchange_quantity(self): + """This method is used for setting the dealer price""" + if self.move_id.move_type == 'out_invoice': + if self.move_id.partner_id.dealer: + if self.product_id.price and self.product_id.minimum_quantity: + if self.quantity >= self.product_id.minimum_quantity: + self.price_unit = self.product_id.price + else: + self.price_unit = self.product_id.lst_price + else: + self.price_unit = self.product_id.lst_price diff --git a/customers_dealers_quantity/models/product_product.py b/customers_dealers_quantity/models/product_product.py new file mode 100644 index 000000000..e653b64c2 --- /dev/null +++ b/customers_dealers_quantity/models/product_product.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Athira Premanand (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import fields, models + + +class ProductProduct(models.Model): + """This class is to set the price and minimum quantity""" + _inherit = "product.product" + + price = fields.Float(string="Dealer Price", help="Dealer price") + minimum_quantity = fields.Float(string="Dealers Min Quantity", + help="Dealers minimum quantity") diff --git a/customers_dealers_quantity/models/res_partner.py b/customers_dealers_quantity/models/res_partner.py new file mode 100644 index 000000000..e6f265894 --- /dev/null +++ b/customers_dealers_quantity/models/res_partner.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Athira Premanand (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import fields, models + + +class ResPartner(models.Model): + """This class is to configure the dealer""" + _inherit = "res.partner" + + dealer = fields.Boolean(string="Dealer", help="It helps to know whether " + "the customer is a Dealer " + "or not") diff --git a/customers_dealers_quantity/models/sale_order.py b/customers_dealers_quantity/models/sale_order.py new file mode 100644 index 000000000..1648694d1 --- /dev/null +++ b/customers_dealers_quantity/models/sale_order.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Athira Premanand (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import api, models + + +class SaleOrder(models.Model): + """This class is to set the dealer price""" + _inherit = "sale.order" + + @api.onchange('partner_id') + def _onchange_partner_id(self): + """ + Triggered when the 'partner_id' field is changed. + This method iterates through the order lines and calls '_onchange_product_uom_qty' for each line. + """ + for lines in self.order_line: + lines._onchange_product_uom_qty() diff --git a/customers_dealers_quantity/models/sale_order_line.py b/customers_dealers_quantity/models/sale_order_line.py new file mode 100644 index 000000000..ad04c99f7 --- /dev/null +++ b/customers_dealers_quantity/models/sale_order_line.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Athira Premanand (odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################### +from odoo import api, models + + +class SaleOrderLine(models.Model): + """This class is to set the dealer price""" + _inherit = "sale.order.line" + + @api.onchange('product_uom_qty', 'product_id', 'product_template_id') + def _onchange_product_uom_qty(self): + """This method is used for setting the dealers price""" + if self.order_id.partner_id.dealer: + if self.product_id.price and self.product_id.minimum_quantity: + if self.product_uom_qty >= self.product_id.minimum_quantity: + self.price_unit = self.product_id.price + else: + self.price_unit = self.product_id.lst_price diff --git a/customers_dealers_quantity/static/description/assets/icons/capture (1).png b/customers_dealers_quantity/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/capture (1).png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/check.png b/customers_dealers_quantity/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/check.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/chevron.png b/customers_dealers_quantity/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/chevron.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/cogs.png b/customers_dealers_quantity/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/cogs.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/consultation.png b/customers_dealers_quantity/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/consultation.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/ecom-black.png b/customers_dealers_quantity/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/ecom-black.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/education-black.png b/customers_dealers_quantity/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/education-black.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/hotel-black.png b/customers_dealers_quantity/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/hotel-black.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/img.png b/customers_dealers_quantity/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/img.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/license.png b/customers_dealers_quantity/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/license.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/lifebuoy.png b/customers_dealers_quantity/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/lifebuoy.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/manufacturing-black.png b/customers_dealers_quantity/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/manufacturing-black.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/photo-capture.png b/customers_dealers_quantity/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/photo-capture.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/pos-black.png b/customers_dealers_quantity/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/pos-black.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/puzzle.png b/customers_dealers_quantity/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/puzzle.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/restaurant-black.png b/customers_dealers_quantity/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/restaurant-black.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/service-black.png b/customers_dealers_quantity/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/service-black.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/trading-black.png b/customers_dealers_quantity/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/trading-black.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/training.png b/customers_dealers_quantity/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/training.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/update.png b/customers_dealers_quantity/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/update.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/user.png b/customers_dealers_quantity/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/user.png differ diff --git a/customers_dealers_quantity/static/description/assets/icons/wrench.png b/customers_dealers_quantity/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/wrench.png differ diff --git a/customers_dealers_quantity/static/description/assets/misc/Cybrosys R.png b/customers_dealers_quantity/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/misc/Cybrosys R.png differ diff --git a/customers_dealers_quantity/static/description/assets/misc/email.svg b/customers_dealers_quantity/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/customers_dealers_quantity/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/customers_dealers_quantity/static/description/assets/misc/phone.svg b/customers_dealers_quantity/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/customers_dealers_quantity/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/customers_dealers_quantity/static/description/assets/misc/star (1) 2.svg b/customers_dealers_quantity/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/customers_dealers_quantity/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/customers_dealers_quantity/static/description/assets/misc/support (1) 1.svg b/customers_dealers_quantity/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/customers_dealers_quantity/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/customers_dealers_quantity/static/description/assets/misc/support-email.svg b/customers_dealers_quantity/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/customers_dealers_quantity/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/customers_dealers_quantity/static/description/assets/misc/tick-mark.svg b/customers_dealers_quantity/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/customers_dealers_quantity/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/customers_dealers_quantity/static/description/assets/misc/whatsapp 1.svg b/customers_dealers_quantity/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/customers_dealers_quantity/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/customers_dealers_quantity/static/description/assets/misc/whatsapp.svg b/customers_dealers_quantity/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/customers_dealers_quantity/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/customers_dealers_quantity/static/description/assets/modules/1.png b/customers_dealers_quantity/static/description/assets/modules/1.png new file mode 100644 index 000000000..c0aa87cc5 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/modules/1.png differ diff --git a/customers_dealers_quantity/static/description/assets/modules/2.png b/customers_dealers_quantity/static/description/assets/modules/2.png new file mode 100644 index 000000000..5734931de Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/modules/2.png differ diff --git a/customers_dealers_quantity/static/description/assets/modules/3.png b/customers_dealers_quantity/static/description/assets/modules/3.png new file mode 100644 index 000000000..50d084907 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/modules/3.png differ diff --git a/customers_dealers_quantity/static/description/assets/modules/4.png b/customers_dealers_quantity/static/description/assets/modules/4.png new file mode 100644 index 000000000..25ede6b00 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/modules/4.png differ diff --git a/customers_dealers_quantity/static/description/assets/modules/5.png b/customers_dealers_quantity/static/description/assets/modules/5.png new file mode 100644 index 000000000..78a1b6d0a Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/modules/5.png differ diff --git a/customers_dealers_quantity/static/description/assets/modules/6.png b/customers_dealers_quantity/static/description/assets/modules/6.png new file mode 100644 index 000000000..346b5bf2f Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/modules/6.png differ diff --git a/customers_dealers_quantity/static/description/assets/screenshots/1.png b/customers_dealers_quantity/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..35cf63634 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/screenshots/1.png differ diff --git a/customers_dealers_quantity/static/description/assets/screenshots/2.png b/customers_dealers_quantity/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..c6f9c43ab Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/screenshots/2.png differ diff --git a/customers_dealers_quantity/static/description/assets/screenshots/3.png b/customers_dealers_quantity/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..fd1c88374 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/screenshots/3.png differ diff --git a/customers_dealers_quantity/static/description/assets/screenshots/4.png b/customers_dealers_quantity/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..f8c59d518 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/screenshots/4.png differ diff --git a/customers_dealers_quantity/static/description/assets/screenshots/hero.gif b/customers_dealers_quantity/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..3fb92a217 Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/screenshots/hero.gif differ diff --git a/customers_dealers_quantity/static/description/banner.jpg b/customers_dealers_quantity/static/description/banner.jpg new file mode 100644 index 000000000..173763679 Binary files /dev/null and b/customers_dealers_quantity/static/description/banner.jpg differ diff --git a/customers_dealers_quantity/static/description/icon.png b/customers_dealers_quantity/static/description/icon.png new file mode 100644 index 000000000..5cc9cdf32 Binary files /dev/null and b/customers_dealers_quantity/static/description/icon.png differ diff --git a/customers_dealers_quantity/static/description/index.html b/customers_dealers_quantity/static/description/index.html new file mode 100644 index 000000000..9f6f86f0f --- /dev/null +++ b/customers_dealers_quantity/static/description/index.html @@ -0,0 +1,700 @@ + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Customer's Dealers Special Price

+

+ When the Dealer Ordered a Specific Product + Quantity and if it's above the Company's Pre-defined + Criteria then the + Company can Allow Some Special Price to the Dealer. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Available in Odoo 17.0 + Community and Enterprise.

+
+
+
+
+
+
+ +
+
+

+ When Customer is Dealer and if the Ordered + Quantity is above the company's pre-defined + criteria then the company can allow some Special + Price to the Dealer.

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

+ Set Customer as Dealer or Not. +

+
+
+
+
+
+
+ +
+
+

+ Under Dealers we can see the Customer's / + Dealer's Original Price of + Products inside the Sales Tab in the Product + Variants.

+
+
+
+
+
+
+ +
+
+

+ When Customer is Dealer then Dealer Price + Add in Unit Price and Dealer Minimum + Quantity Add in + Quantity.

+
+
+
+
+
+
+ +
+
+

+ If the Dealer Buy less than the Minimum + Quantity, + then they need to Buy the Product with + Original Price.

+
+
+
+
+
+
+
    +
  • + Available in + Odoo 17.0 Community and Enterprise. +
  • +
  • + + Customer's Dealers Special Price +
      +
    • This module used when the Dealer + Ordered a specific Product Quantity and + if it's above + the company's pre-defined criteria then + the company can allow some + Special Price to the Dealer. +
    • +
    +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:22nd April 2024 +
+

+ Initial Commit for Customer's Dealers Special + Price. +

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/customers_dealers_quantity/views/product_product_views.xml b/customers_dealers_quantity/views/product_product_views.xml new file mode 100644 index 000000000..c1ff21f12 --- /dev/null +++ b/customers_dealers_quantity/views/product_product_views.xml @@ -0,0 +1,22 @@ + + + + + + product.product.view.form.inherit.customers.dealers.quantity + + product.product + + + +
+ Dealers +
+
+ + +
+
+
+
diff --git a/customers_dealers_quantity/views/res_partner_views.xml b/customers_dealers_quantity/views/res_partner_views.xml new file mode 100644 index 000000000..67188b66d --- /dev/null +++ b/customers_dealers_quantity/views/res_partner_views.xml @@ -0,0 +1,14 @@ + + + + + res.partner.view.form.inherit.customers.dealers.quantity + res.partner + + + + + + + +