From 3b87ef6ddad67b4bd7f51dbf5c2eb982fa4330e4 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 22 Sep 2015 13:19:38 +0200 Subject: [PATCH] [FIX] product_*,website_sale: wrong template inheritance In v8, some fields were added for the product.pricelist formview by template inheritance : after the active field. For v9, this active field was moved in a button_box button (archive stat_button), so the added fields (inheritance) landed in the stat_button too. --- addons/product/pricelist_view.xml | 4 +--- .../product_visible_discount_view.xml | 9 ++------- addons/website_sale/views/views.xml | 2 +- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/addons/product/pricelist_view.xml b/addons/product/pricelist_view.xml index a2660631fc3..db191649c61 100644 --- a/addons/product/pricelist_view.xml +++ b/addons/product/pricelist_view.xml @@ -124,9 +124,7 @@
-

- -

+

diff --git a/addons/product_visible_discount/product_visible_discount_view.xml b/addons/product_visible_discount/product_visible_discount_view.xml index f2356722da4..0db34d64703 100644 --- a/addons/product_visible_discount/product_visible_discount_view.xml +++ b/addons/product_visible_discount/product_visible_discount_view.xml @@ -1,7 +1,6 @@ - product.pricelist.tree @@ -19,14 +18,10 @@ product.pricelist - - - diff --git a/addons/website_sale/views/views.xml b/addons/website_sale/views/views.xml index 71f39b12297..1285d4a1c31 100644 --- a/addons/website_sale/views/views.xml +++ b/addons/website_sale/views/views.xml @@ -5,7 +5,7 @@ product.pricelist - +