diff --git a/uom_in_pricelist/README.rst b/uom_in_pricelist/README.rst new file mode 100755 index 000000000..cc43ba1f5 --- /dev/null +++ b/uom_in_pricelist/README.rst @@ -0,0 +1,49 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +UOM In PriceList +================ +This module allows to apply the condition with UoM in the advanced price rule in Odoo. + +Configuration +============= +* No additional configuration is needed. + +Company +======= +* `Cybrosys Techno Solutions `__ + +License +======= +Affero General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developers: (V16) Chethana Ramachandran, + (V17) JANISH BABU E.K, + (V18) Ammu Raj + Contact: odoo@cybrosys.com + +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/uom_in_pricelist/__init__.py b/uom_in_pricelist/__init__.py new file mode 100644 index 000000000..1dd043dc6 --- /dev/null +++ b/uom_in_pricelist/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (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/uom_in_pricelist/__manifest__.py b/uom_in_pricelist/__manifest__.py new file mode 100644 index 000000000..3c918e6a2 --- /dev/null +++ b/uom_in_pricelist/__manifest__.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (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': "UOM In PriceList", + 'version': '18.0.1.0.0', + 'category': "Extra Tools", + 'summary': """This module will helps to add Unit of Measure condition in the + advanced Price list rule.""", + 'description': """Unit of measure in the price list rule. This module will + help set the UOM rule in the price list. And it can be applied to the + advanced price rule and used in the sale order.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['sale_management', 'product'], + 'data': ['views/product_pricelist_item_views.xml'], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/uom_in_pricelist/doc/RELEASE_NOTES.md b/uom_in_pricelist/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..9e1a3e999 --- /dev/null +++ b/uom_in_pricelist/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 12.02.2025 +#### Version 18.0.1.0.0 +##### ADD +- Initial commit for UOM In PriceList diff --git a/uom_in_pricelist/models/__init__.py b/uom_in_pricelist/models/__init__.py new file mode 100644 index 000000000..33ee70e8c --- /dev/null +++ b/uom_in_pricelist/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (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_pricelist +from . import product_pricelist_item diff --git a/uom_in_pricelist/models/product_pricelist.py b/uom_in_pricelist/models/product_pricelist.py new file mode 100644 index 000000000..3712f4db5 --- /dev/null +++ b/uom_in_pricelist/models/product_pricelist.py @@ -0,0 +1,74 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (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 fields, models + + +class ProductPricelist(models.Model): + """ Inherits the Product Pricelist to update the _compute_price_rule + function for adding the product uom in price rule. """ + _inherit = "product.pricelist" + + def _compute_price_rule( + self, products, quantity, currency=None, uom=None, date=False, + compute_price=True, + **kwargs): + """ Low-level method - Mono pricelist, multi products + Returns: dict{product_id: (price, suitable_rule) for the given + price list} + :param products: recordset of products + (product.product/product.template) + :param float qty: quantity of products requested (in given uom) + :param uom: unit of measure (uom.uom record) + If not specified, prices returned are expressed in product uoms + :param date: date to use for price computation and currency conversions + :type date: date or datetime + :returns: product_id: (price, pricelist_rule) + :rtype: dict + """ + self.ensure_one() + if not products: + return {} + if not date: + date = fields.Datetime.now() + rules = self._get_applicable_rules(products, date, **kwargs) + results = {} + for product in products: + suitable_rule = self.env['product.pricelist.item'] + target_uom = uom or product.uom_id + for rule in rules: + if rule._is_applicable_for(product, quantity, uom): + suitable_rule = rule + break + kwargs['pricelist'] = self + price = suitable_rule._compute_price(product, quantity, target_uom, + date=date, + currency=self.currency_id) + results[product.id] = (price, suitable_rule.id) + if compute_price: + price = suitable_rule._compute_price( + product, quantity, target_uom, date=date, + currency=currency) + else: + # Skip price computation when only the rule is requested. + price = 0.0 + results[product.id] = (price, suitable_rule.id) + return results diff --git a/uom_in_pricelist/models/product_pricelist_item.py b/uom_in_pricelist/models/product_pricelist_item.py new file mode 100644 index 000000000..08870d523 --- /dev/null +++ b/uom_in_pricelist/models/product_pricelist_item.py @@ -0,0 +1,90 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2025-TODAY Cybrosys Technologies() +# Author: Ammu Raj (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 api, fields, models + + +class ProductPricelistItem(models.Model): + """ Inherits the Product Price list Item Class to compute the product uom + and want to apply in the price list. """ + _inherit = "product.pricelist.item" + + product_uom_category_id = fields.Many2one( + string="Product UOM Category", + related='product_tmpl_id.uom_id.category_id', + depends=['product_tmpl_id'], + help="Defines the product uom category of the product") + product_uom_id = fields.Many2one( + comodel_name='uom.uom', + string="Unit of Measure", + compute='_compute_product_uom_id', + store=True, readonly=False, precompute=True, ondelete='restrict', + domain="[('category_id', '=', product_uom_category_id)]", + help="Defines the product uom of the product") + + @api.depends('product_tmpl_id') + def _compute_product_uom_id(self): + """ Computes the product uom, and it depends on the product template """ + for line in self: + if not line.product_uom_id or ( + line.product_tmpl_id.uom_id.id != line.product_uom_id.id): + line.product_uom_id = line.product_tmpl_id.uom_id + else: + line.product_uom_id = False + + def _is_applicable_for(self, product, qty, uom_id): + """ Check whether the current rule is valid for the given product & qty. + Note: self.ensure_one() + :param product: product record (product.product/product.template) + :param float qty_in_product_uom: quantity, expressed in product UoM + :returns: Whether rules is valid or not + :rtype: bool + """ + self.ensure_one() + product.ensure_one() + res = True + is_product_template = product._name == 'product.template' + if self.min_quantity and qty < self.min_quantity: + res = False + elif self.product_uom_id and uom_id.id != self.product_uom_id.id: + res = False + elif self.categ_id: + cat = product.categ_id + while cat: + if cat.id == self.categ_id.id: + break + cat = cat.parent_id + if not cat: + res = False + else: + if is_product_template: + if self.product_tmpl_id and product.id != self.product_tmpl_id.id: + res = False + elif self.product_id and not ( + product.product_variant_count == 1 and + product.product_variant_id.id == self.product_id.id): + res = False + else: + if self.product_tmpl_id and product.product_tmpl_id.id != self.product_tmpl_id.id: + res = False + elif self.product_id and product.id != self.product_id.id: + res = False + return res diff --git a/uom_in_pricelist/static/description/assets/cybro-icon.png b/uom_in_pricelist/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/uom_in_pricelist/static/description/assets/cybro-icon.png differ diff --git a/uom_in_pricelist/static/description/assets/cybro-odoo.png b/uom_in_pricelist/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/cybro-odoo.png differ diff --git a/uom_in_pricelist/static/description/assets/h2.png b/uom_in_pricelist/static/description/assets/h2.png new file mode 100644 index 000000000..0bfc4707d Binary files /dev/null and b/uom_in_pricelist/static/description/assets/h2.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/arrows-repeat.svg b/uom_in_pricelist/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/banner-1.png b/uom_in_pricelist/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/banner-1.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/banner-2.svg b/uom_in_pricelist/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/banner-bg.png b/uom_in_pricelist/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/banner-bg.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/banner-bg.svg b/uom_in_pricelist/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/banner-call.svg b/uom_in_pricelist/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/banner-mail.svg b/uom_in_pricelist/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/banner-pattern.svg b/uom_in_pricelist/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/banner-promo.svg b/uom_in_pricelist/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/brand-pair.svg b/uom_in_pricelist/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/check.png b/uom_in_pricelist/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/check.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/chevron.png b/uom_in_pricelist/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/chevron.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/close-icon.svg b/uom_in_pricelist/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/cogs.png b/uom_in_pricelist/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/cogs.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/collabarate-icon.svg b/uom_in_pricelist/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/uom_in_pricelist/static/description/assets/icons/consultation.png b/uom_in_pricelist/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/consultation.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/cybro-logo.png b/uom_in_pricelist/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/cybro-logo.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/down.svg b/uom_in_pricelist/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/uom_in_pricelist/static/description/assets/icons/ecom-black.png b/uom_in_pricelist/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/ecom-black.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/education-black.png b/uom_in_pricelist/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/education-black.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/faq.png b/uom_in_pricelist/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/faq.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/feature-icon.svg b/uom_in_pricelist/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/feature.png b/uom_in_pricelist/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/feature.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/gear.svg b/uom_in_pricelist/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/hero.gif b/uom_in_pricelist/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..380654dfe Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/hero.gif differ diff --git a/uom_in_pricelist/static/description/assets/icons/hire-odoo.svg b/uom_in_pricelist/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/hotel-black.png b/uom_in_pricelist/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/hotel-black.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/license.png b/uom_in_pricelist/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/license.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/life-ring-icon.svg b/uom_in_pricelist/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/lifebuoy.png b/uom_in_pricelist/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/lifebuoy.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/mail.svg b/uom_in_pricelist/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/uom_in_pricelist/static/description/assets/icons/manufacturing-black.png b/uom_in_pricelist/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/manufacturing-black.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/notes.png b/uom_in_pricelist/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/notes.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/notification icon.svg b/uom_in_pricelist/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/odoo-consultancy.svg b/uom_in_pricelist/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/odoo-licencing.svg b/uom_in_pricelist/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/uom_in_pricelist/static/description/assets/icons/odoo-logo.png b/uom_in_pricelist/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/odoo-logo.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/patter.svg b/uom_in_pricelist/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/pattern1.png b/uom_in_pricelist/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/pattern1.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/pos-black.png b/uom_in_pricelist/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/pos-black.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/puzzle-piece-icon.svg b/uom_in_pricelist/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/puzzle.png b/uom_in_pricelist/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/puzzle.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/replace-icon.svg b/uom_in_pricelist/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/restaurant-black.png b/uom_in_pricelist/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/restaurant-black.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/screenshot-main.png b/uom_in_pricelist/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/screenshot-main.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/screenshot.png b/uom_in_pricelist/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/screenshot.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/service-black.png b/uom_in_pricelist/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/service-black.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/skype-fill.svg b/uom_in_pricelist/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/skype.png b/uom_in_pricelist/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/skype.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/skype.svg b/uom_in_pricelist/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/uom_in_pricelist/static/description/assets/icons/star-1.svg b/uom_in_pricelist/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/star-2.svg b/uom_in_pricelist/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/support.png b/uom_in_pricelist/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/support.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/test-1 - Copy.png b/uom_in_pricelist/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/test-1 - Copy.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/test-1.png b/uom_in_pricelist/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/test-1.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/test-2.png b/uom_in_pricelist/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/test-2.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/trading-black.png b/uom_in_pricelist/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/trading-black.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/training.png b/uom_in_pricelist/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/training.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/translate.svg b/uom_in_pricelist/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/update.png b/uom_in_pricelist/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/update.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/user.png b/uom_in_pricelist/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/user.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/video.png b/uom_in_pricelist/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/video.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/whatsapp.png b/uom_in_pricelist/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/whatsapp.png differ diff --git a/uom_in_pricelist/static/description/assets/icons/wrench-icon.svg b/uom_in_pricelist/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/uom_in_pricelist/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/uom_in_pricelist/static/description/assets/icons/wrench.png b/uom_in_pricelist/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/uom_in_pricelist/static/description/assets/icons/wrench.png differ diff --git a/uom_in_pricelist/static/description/assets/modules/1.gif b/uom_in_pricelist/static/description/assets/modules/1.gif new file mode 100644 index 000000000..dc180280d Binary files /dev/null and b/uom_in_pricelist/static/description/assets/modules/1.gif differ diff --git a/uom_in_pricelist/static/description/assets/modules/2.png b/uom_in_pricelist/static/description/assets/modules/2.png new file mode 100644 index 000000000..ecea68d98 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/modules/2.png differ diff --git a/uom_in_pricelist/static/description/assets/modules/3.png b/uom_in_pricelist/static/description/assets/modules/3.png new file mode 100644 index 000000000..e0b09a5a0 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/modules/3.png differ diff --git a/uom_in_pricelist/static/description/assets/modules/4.jpg b/uom_in_pricelist/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..4bd9278e3 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/modules/4.jpg differ diff --git a/uom_in_pricelist/static/description/assets/modules/5.jpg b/uom_in_pricelist/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..31a56b08c Binary files /dev/null and b/uom_in_pricelist/static/description/assets/modules/5.jpg differ diff --git a/uom_in_pricelist/static/description/assets/modules/6.png b/uom_in_pricelist/static/description/assets/modules/6.png new file mode 100644 index 000000000..17089cab4 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/modules/6.png differ diff --git a/uom_in_pricelist/static/description/assets/screenshots/1.png b/uom_in_pricelist/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..e6566911a Binary files /dev/null and b/uom_in_pricelist/static/description/assets/screenshots/1.png differ diff --git a/uom_in_pricelist/static/description/assets/screenshots/3.png b/uom_in_pricelist/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..4969343e2 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/screenshots/3.png differ diff --git a/uom_in_pricelist/static/description/assets/screenshots/4.png b/uom_in_pricelist/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..bb9dda200 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/screenshots/4.png differ diff --git a/uom_in_pricelist/static/description/assets/screenshots/hero.gif b/uom_in_pricelist/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..7c6a8bfaf Binary files /dev/null and b/uom_in_pricelist/static/description/assets/screenshots/hero.gif differ diff --git a/uom_in_pricelist/static/description/assets/y18.jpg b/uom_in_pricelist/static/description/assets/y18.jpg new file mode 100644 index 000000000..eea1714f2 Binary files /dev/null and b/uom_in_pricelist/static/description/assets/y18.jpg differ diff --git a/uom_in_pricelist/static/description/banner.jpg b/uom_in_pricelist/static/description/banner.jpg new file mode 100644 index 000000000..37ad1e646 Binary files /dev/null and b/uom_in_pricelist/static/description/banner.jpg differ diff --git a/uom_in_pricelist/static/description/icon.png b/uom_in_pricelist/static/description/icon.png new file mode 100644 index 000000000..8f7ec17b7 Binary files /dev/null and b/uom_in_pricelist/static/description/icon.png differ diff --git a/uom_in_pricelist/static/description/index.html b/uom_in_pricelist/static/description/index.html new file mode 100644 index 000000000..0143ca16e --- /dev/null +++ b/uom_in_pricelist/static/description/index.html @@ -0,0 +1,998 @@ + + + + + + UOM In PriceList + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ This App Allows the User to Apply the PriceList with the UOM Condition. +

+

UOM In PriceList +

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

Key + Highlights

+
+
+
+
+ +
+
+ Create PriceList with Multiple UOMs. +
+
+
+
+
+
+ +
+
+ PriceList in Advanced Price Rule Check the Minimum + Quantity and the Corresponding UoM. +
+
+
+
+
+ +
+
+
+ UOM In PriceList +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ Select the UOM Apply Conditions + + in Pricelist +

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

+ Select the Pricelist from + + Sale Order +

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

+ Price List is Applied in the + + Sale Order +

+
+
+

+ Pricelist is applied in the sale order based on the uom condition. +

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

+ Create Pricelist with Multiple UOMs.

+
+
+
+
+
+
+
+ +
+

+ Apply Pricelist in with UoM and Different Conditions.

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

+ While configuring a + backup, selecting + the Zip option will + include the + filestore in the + backup, while + choosing the Dump + option will create a + backup without the + filestore. +

+
+
+ +
+ +
+

+ Enable the "Remove + Old Backups" option + in the backup + creation view to + automatically delete + previous backups + based on the number + of days specified. +

+
+
+ +
+ +
+

+ Enable the "Notify + User" option and + specify a contact to + receive an email + containing a + detailed report with + the failure reason + and backup details. + This option will + also send an email + upon successful + backup. +

+
+
+ +
+ +
+

+ Select the backup + destination as local + storage and specify + a backup path to a + location on the + system to create + backups on your own + system. +

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

+ Latest Release 18.0.1.0.0 +

+ + 01st February, 2025 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • +
+
+
+
+
+
+
+
+
+
+ + + + + + +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + + diff --git a/uom_in_pricelist/views/product_pricelist_item_views.xml b/uom_in_pricelist/views/product_pricelist_item_views.xml new file mode 100644 index 000000000..493ab7e70 --- /dev/null +++ b/uom_in_pricelist/views/product_pricelist_item_views.xml @@ -0,0 +1,20 @@ + + + + + + product.pricelist.item.view.form.inherit.uom.in.pricelist + + product.pricelist.item + + + + + + + + +