diff --git a/product_pricelist_item_list_view/__init__.py b/product_pricelist_item_list_view/__init__.py index f73da262af3..e69de29bb2d 100644 --- a/product_pricelist_item_list_view/__init__.py +++ b/product_pricelist_item_list_view/__init__.py @@ -1,2 +0,0 @@ -# Copyright 2016 Lorenzo Battistini - Agile Business Group -# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). diff --git a/product_pricelist_item_list_view/__openerp__.py b/product_pricelist_item_list_view/__manifest__.py similarity index 63% rename from product_pricelist_item_list_view/__openerp__.py rename to product_pricelist_item_list_view/__manifest__.py index c5a9de6c83a..5b11c85e98d 100644 --- a/product_pricelist_item_list_view/__openerp__.py +++ b/product_pricelist_item_list_view/__manifest__.py @@ -1,18 +1,21 @@ # Copyright 2016 Lorenzo Battistini - Agile Business Group +# Copyright 2023 ForgeFlow S.L. (https://www.forgeflow.com) # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { "name": "Pricelist rules list view", "summary": "View and search the list of pricelist items", - "version": "9.0.1.0.0", + "version": "16.0.1.0.0", "category": "Sales Management", "website": "https://github.com/OCA/product-attribute", - "author": "Agile Business Group, Odoo Community Association (OCA)", + "author": "Agile Business Group, ForgeFlow, Odoo Community Association (OCA)", + "maintainers": ["LoisRForgeFlow"], + "development_status": "Production/Stable", "license": "LGPL-3", "application": False, "installable": True, "depends": [ - "product", + "sale", ], "data": [ "views/pricelist_view.xml", diff --git a/product_pricelist_item_list_view/views/pricelist_view.xml b/product_pricelist_item_list_view/views/pricelist_view.xml index c24c311841f..531e693c826 100644 --- a/product_pricelist_item_list_view/views/pricelist_view.xml +++ b/product_pricelist_item_list_view/views/pricelist_view.xml @@ -1,174 +1,48 @@ - - product.pricelist.item.search - product.pricelist.item - - - - - - - - - - - - - - product.pricelist.item.tree - product.pricelist.item - 99 - - - - - - - - - - - - + product.pricelist.item.form product.pricelist.item - 99 + -
-

- - - - - - - - - - - - - - - - - - - -
-

The computed price is expressed in the default Unit of Measure of the product.

-
- - - -
- - Pricelist Rules - ir.actions.act_window - product.pricelist.item - form - tree,form - - -

- Click to create a pricelist rule. -

- Each rule include a set of applicability criteria (date range, - product category...) and a computation that easily helps to achieve - any kind of pricing. -

+ + product.pricelist.item.search + product.pricelist.item + + + + + + + + + + + - - - - - tree - - - - - - form + + + {'show_item_pricelist_id': 1}
diff --git a/setup/product_pricelist_item_list_view/odoo/addons/product_pricelist_item_list_view b/setup/product_pricelist_item_list_view/odoo/addons/product_pricelist_item_list_view new file mode 120000 index 00000000000..36a3105aa64 --- /dev/null +++ b/setup/product_pricelist_item_list_view/odoo/addons/product_pricelist_item_list_view @@ -0,0 +1 @@ +../../../../product_pricelist_item_list_view \ No newline at end of file diff --git a/setup/product_pricelist_item_list_view/odoo_addons/__init__.py b/setup/product_pricelist_item_list_view/odoo_addons/__init__.py deleted file mode 100644 index de40ea7ca05..00000000000 --- a/setup/product_pricelist_item_list_view/odoo_addons/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/product_pricelist_item_list_view/odoo_addons/product_pricelist_item_list_view b/setup/product_pricelist_item_list_view/odoo_addons/product_pricelist_item_list_view deleted file mode 120000 index c725d3dff57..00000000000 --- a/setup/product_pricelist_item_list_view/odoo_addons/product_pricelist_item_list_view +++ /dev/null @@ -1 +0,0 @@ -../../../product_pricelist_item_list_view \ No newline at end of file