From 74526ff1c739de6914a05ccab2d9524f995cbccb Mon Sep 17 00:00:00 2001 From: "Touati Djamel (otd)" Date: Fri, 27 May 2022 14:03:48 +0000 Subject: [PATCH] =?UTF-8?q?[FIX]=20product:=20add=20the=20product=E2=80=99?= =?UTF-8?q?s=20company=20to=20the=20context?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps to reproduce the bug: - Enable “Product Packagings” in the settings - Create a storable product - Set the company field - Go to the inventory tab: - Click on add packaging Problem The company field is not set automatically opw-2864554 closes odoo/odoo#92826 X-original-commit: 79223022e79a95c9c1f7d6307c48866a0f9a13ef Signed-off-by: William Henrotin (whe) Signed-off-by: Djamel Touati (otd) --- addons/product/views/product_views.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index 7d01a7612db..0980f3597ef 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -133,7 +133,7 @@ colspan="4" attrs="{'invisible':['|', ('type', 'not in', ['product', 'consu']), ('product_variant_count', '>', 1), ('is_product_variant', '=', False)]}" groups="product.group_stock_packaging"> - + @@ -245,6 +245,7 @@ +