diff --git a/customers_dealers_quantity/README.rst b/customers_dealers_quantity/README.rst new file mode 100644 index 000000000..59d3ef16a --- /dev/null +++ b/customers_dealers_quantity/README.rst @@ -0,0 +1,51 @@ +.. 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 `__ + +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..9d0db6d79 --- /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: Jumana Haseen(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..607aec3f7 --- /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: Jumana Haseen(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': '15.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'], + 'data': [ + 'views/product_product_views.xml', + 'views/res_partner_views.xml', + ], + 'images': ['static/description/banner.png'], + '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..8811b72d0 --- /dev/null +++ b/customers_dealers_quantity/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 12.06.2024 +#### Version 15.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..015f9ff3b --- /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: Jumana Haseen (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..12f2fc57f --- /dev/null +++ b/customers_dealers_quantity/models/account_move.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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..98c2d333b --- /dev/null +++ b/customers_dealers_quantity/models/account_move_line.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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 inherit Account move line""" + _inherit = "account.move.line" + + @api.onchange('product_id', 'quantity', 'move_id.partner_id') + def _onchange_quantity(self): + """This method is used for setting the dealers price""" + for line in self: + if line.move_id.move_type == 'out_invoice' and line.move_id.partner_id.dealer: + if line.product_id.dealer_price and line.product_id.minimum_quantity: + if line.quantity >= line.product_id.minimum_quantity: + line.price_unit = line.product_id.dealer_price + else: + line.price_unit = line.product_id.lst_price + else: + line.price_unit = line.product_id.lst_price + else: + line.price_unit = line.product_id.lst_price + + res = self._get_price_total_and_subtotal_model( + line.price_unit, line.quantity, line.discount, + line.move_id.currency_id, line.product_id, + line.move_id.partner_id, line.tax_ids, + line.move_id.move_type + ) + line.price_subtotal = res['price_subtotal'] + line.price_total = res['price_total'] diff --git a/customers_dealers_quantity/models/product_product.py b/customers_dealers_quantity/models/product_product.py new file mode 100644 index 000000000..f35b72bd7 --- /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: Jumana Haseen (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" + + dealer_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..60a9c3b39 --- /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: Jumana Haseen (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..4369e6459 --- /dev/null +++ b/customers_dealers_quantity/models/sale_order.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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 + '_check_dealer_price' for each line. + """ + for lines in self.order_line: + lines._check_dealer_price() 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..d6c793e80 --- /dev/null +++ b/customers_dealers_quantity/models/sale_order_line.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen (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.constrains('product_uom_qty', 'product_id', 'order_id.partner_id') + def _check_dealer_price(self): + """This function calculates price unit based on dealer price""" + for line in self: + if line.order_id.partner_id.dealer: + if line.product_id.dealer_price and line.product_id.minimum_quantity: + if line.product_uom_qty >= line.product_id.minimum_quantity: + line.write( + {'price_unit': line.product_id.dealer_price}) + else: + line.write( + {'price_unit': line.product_id.lst_price}) + else: + line.write( + {'price_unit': line.product_id.lst_price}) 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/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/logo.png b/customers_dealers_quantity/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/customers_dealers_quantity/static/description/assets/icons/logo.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/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/modules/1.png b/customers_dealers_quantity/static/description/assets/modules/1.png new file mode 100644 index 000000000..6a14e9f42 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..d7e0b80d5 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..2347e3bac 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..83764d1b6 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..df8cf455e 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..4ddb08d5f 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..d2c62d338 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..e93ba2665 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..4ba88bdd4 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..6305a4d3d 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..b8995e6f5 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.png b/customers_dealers_quantity/static/description/banner.png new file mode 100644 index 000000000..065906563 Binary files /dev/null and b/customers_dealers_quantity/static/description/banner.png 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..63d1a6b5d 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..e84caf5bf --- /dev/null +++ b/customers_dealers_quantity/static/description/index.html @@ -0,0 +1,641 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+

+ 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. +

+ +
+
+ + +
+
+

+ Overview +

+
+ +
+

+ 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.

+
+
+
+
+

+ Features +

+
+ +
+
+ +
+
+

+ 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.

+
+
+
+
+ +
+
+

+ Quick product publish/unpublish without redirecting to + website

+
+
+
+
+
+

+ Screenshots +

+
+
+

+ 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.

+ +
+
+ +
+
+

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?

+
+
+
+ + +
+ +
+ +
+ +
+ WhatsApp +
+
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
\ No newline at end of file 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..3e3aada9b --- /dev/null +++ b/customers_dealers_quantity/views/product_product_views.xml @@ -0,0 +1,27 @@ + + + + + + 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 + + + + + + + +