From 088de4f1eba2c13b4fa1b3ef6557dd870c4f7565 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Wed, 21 Aug 2019 12:21:15 +0000 Subject: [PATCH] [FIX] *: see pricelists when enabled Since https://github.com/odoo/odoo/commit/e88fe6f380ed5682f2cedad16ba13ca43a3828c2 , the groups to have access to pricelists is `group_product_pricelist`, not `group_sale_pricelist` anymore. `group_sale_pricelist` is now a technical group enabling access to advanced pricelist rules (percentage/discount). --- addons/point_of_sale/views/pos_config_view.xml | 4 ++-- addons/point_of_sale/views/pos_order_view.xml | 2 +- addons/point_of_sale/views/product_view.xml | 2 +- .../point_of_sale/views/res_config_settings_views.xml | 2 +- addons/product/security/product_security.xml | 4 ++-- addons/product/views/product_pricelist_views.xml | 2 +- addons/product/views/product_views.xml | 2 +- addons/product/views/res_partner_views.xml | 10 +++++----- addons/product/wizard/product_price_list_views.xml | 2 +- addons/repair/views/repair_views.xml | 2 +- addons/website_sale/views/sale_order_views.xml | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/addons/point_of_sale/views/pos_config_view.xml b/addons/point_of_sale/views/pos_config_view.xml index d10f7a63296..824a3397904 100644 --- a/addons/point_of_sale/views/pos_config_view.xml +++ b/addons/point_of_sale/views/pos_config_view.xml @@ -249,7 +249,7 @@

Pricing

-
+
Default Pricelist
@@ -260,7 +260,7 @@
-
+
diff --git a/addons/point_of_sale/views/pos_order_view.xml b/addons/point_of_sale/views/pos_order_view.xml index 4c83e5a59b8..1d45e391586 100644 --- a/addons/point_of_sale/views/pos_order_view.xml +++ b/addons/point_of_sale/views/pos_order_view.xml @@ -104,7 +104,7 @@ - + diff --git a/addons/point_of_sale/views/product_view.xml b/addons/point_of_sale/views/product_view.xml index a2d6b8e9af9..72ccd3abad0 100644 --- a/addons/point_of_sale/views/product_view.xml +++ b/addons/point_of_sale/views/product_view.xml @@ -83,7 +83,7 @@ diff --git a/addons/point_of_sale/views/res_config_settings_views.xml b/addons/point_of_sale/views/res_config_settings_views.xml index 35477705722..b5e2a4debdd 100644 --- a/addons/point_of_sale/views/res_config_settings_views.xml +++ b/addons/point_of_sale/views/res_config_settings_views.xml @@ -44,7 +44,7 @@
-
diff --git a/addons/product/security/product_security.xml b/addons/product/security/product_security.xml index f10acf38bd2..1f71a6c8ec7 100644 --- a/addons/product/security/product_security.xml +++ b/addons/product/security/product_security.xml @@ -3,12 +3,12 @@ - Sales Pricelists + Advanced Pricelists - Pricelists On Product + Basic Pricelists diff --git a/addons/product/views/product_pricelist_views.xml b/addons/product/views/product_pricelist_views.xml index 7a019c7480f..c6705db4c72 100644 --- a/addons/product/views/product_pricelist_views.xml +++ b/addons/product/views/product_pricelist_views.xml @@ -25,7 +25,7 @@ name="groupby_vendor" domain="[]" context="{'group_by': 'pricelist_id'}" - groups="product.group_sale_pricelist"/> + groups="product.group_product_pricelist"/> diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index 352a3782fd3..fcd295e328b 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -142,7 +142,7 @@ - + diff --git a/addons/product/views/res_partner_views.xml b/addons/product/views/res_partner_views.xml index 692fe5025e0..98c37975d44 100644 --- a/addons/product/views/res_partner_views.xml +++ b/addons/product/views/res_partner_views.xml @@ -4,14 +4,14 @@ res.partner.product.property.form.inherit res.partner - - + + - -
+ +

Pricelists are managed on

- \ No newline at end of file + diff --git a/addons/product/wizard/product_price_list_views.xml b/addons/product/wizard/product_price_list_views.xml index f0c8c7e36d6..37c59dac0f3 100644 --- a/addons/product/wizard/product_price_list_views.xml +++ b/addons/product/wizard/product_price_list_views.xml @@ -28,6 +28,6 @@ res_model="product.price_list" binding_model="product.product" binding_type="report" - groups="product.group_sale_pricelist" + groups="product.group_product_pricelist" view_mode="form" target="new" /> diff --git a/addons/repair/views/repair_views.xml b/addons/repair/views/repair_views.xml index bfb7fd40941..0a146b340f8 100644 --- a/addons/repair/views/repair_views.xml +++ b/addons/repair/views/repair_views.xml @@ -79,7 +79,7 @@ - + diff --git a/addons/website_sale/views/sale_order_views.xml b/addons/website_sale/views/sale_order_views.xml index 5bd11dc61df..cbbe1dfd6c7 100644 --- a/addons/website_sale/views/sale_order_views.xml +++ b/addons/website_sale/views/sale_order_views.xml @@ -233,7 +233,7 @@ parent="menu_catalog" groups="product.group_product_variant" sequence="2"/> + parent="menu_catalog" groups="product.group_product_pricelist" sequence="4"/>