From 79804719fec06d40da5d5203e03a2cf47a2283b4 Mon Sep 17 00:00:00 2001 From: clesgow Date: Wed, 1 Sep 2021 08:10:52 +0000 Subject: [PATCH] [FIX] stock_account: product_category_form inherit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Directly inheriting stock.product_category_form_view_inherit would raise an error as group "account_property" wouldn't yet exist in the inherited record. Fixes 61d937f7d66c668c2809a07257a8cf188617b372 closes odoo/odoo#75822 Signed-off-by: Rémy Voet --- addons/stock_account/views/product_views.xml | 22 +++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/addons/stock_account/views/product_views.xml b/addons/stock_account/views/product_views.xml index 640764b9a29..a8d15b6c944 100644 --- a/addons/stock_account/views/product_views.xml +++ b/addons/stock_account/views/product_views.xml @@ -12,10 +12,24 @@ + + product.category.stock.property.form.inherit.stock + product.category + + + + + + + + + + + product.category.stock.property.form.inherit product.category - + @@ -28,12 +42,6 @@ - - - - - -