diff --git a/product_list_price_multicompany/__init__.py b/product_list_price_multicompany/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/product_list_price_multicompany/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/product_list_price_multicompany/__manifest__.py b/product_list_price_multicompany/__manifest__.py new file mode 100644 index 0000000..4923406 --- /dev/null +++ b/product_list_price_multicompany/__manifest__.py @@ -0,0 +1,17 @@ +{ + "name": "Product List Price Multicompany", + "version": "16.0.1.0.0", + "summary": "Manage product list prices across multiple companies", + "description": """ + This module allows you to manage product list prices across multiple companies in Odoo. + """, + "author": "Criptomart", + "website": "https://www.criptomart.net", + "category": "Sales", + "depends": ["base", "product"], + "data": [], + "installable": True, + "application": False, + "auto_install": False, + "license": "AGPL-3", +} diff --git a/product_list_price_multicompany/models/__init__.py b/product_list_price_multicompany/models/__init__.py new file mode 100644 index 0000000..9649db7 --- /dev/null +++ b/product_list_price_multicompany/models/__init__.py @@ -0,0 +1 @@ +from . import product diff --git a/product_list_price_multicompany/models/product.py b/product_list_price_multicompany/models/product.py new file mode 100644 index 0000000..b1c276b --- /dev/null +++ b/product_list_price_multicompany/models/product.py @@ -0,0 +1,7 @@ +from odoo import models, fields + + +class ProductTemplate(models.Model): + _inherit = "product.template" + + list_price = fields.Float(company_dependent=True)