From 65fd6d9b2453cabee2beaa639ef44eada8d972f3 Mon Sep 17 00:00:00 2001 From: "Daniel Kosky (dako)" Date: Tue, 11 Apr 2023 13:03:47 +0000 Subject: [PATCH] [FIX] stock: don't replace product/inventory view groups The current view replaces the existing groups attribute of the inventory page in the product template form view with two specified groups (with only one of these groups being newly introduced in stock). This commit changes the product view to utilise an xpath that adds the single new group (stock.group_stock_user), instead of replacing the content of the attributes. closes odoo/odoo#119284 X-original-commit: 43c888bb4df26b608ee6b0bedfe41032b40cc883 Related: odoo/enterprise#40101 Signed-off-by: Brice Bartoletti (bib) Signed-off-by: Daniel Kosky (dako) --- addons/stock/views/product_views.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/stock/views/product_views.xml b/addons/stock/views/product_views.xml index 92751e9e15f..141bdc3079b 100644 --- a/addons/stock/views/product_views.xml +++ b/addons/stock/views/product_views.xml @@ -145,9 +145,9 @@ - - stock.group_stock_user,product.group_stock_packaging - + + +