From 85dc26e2ff2a5969865af3ab16d09527c4c534cd Mon Sep 17 00:00:00 2001 From: "Ahmed Khalaf (ahkh)" Date: Tue, 31 May 2022 13:56:33 +0000 Subject: [PATCH] [IMP] stock: replenish consumables Product of type consumable can now be replenished Task: 2764771 Part-of: odoo/odoo#91640 --- 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 f1557646819..5ba0dddc3d5 100644 --- a/addons/stock/views/product_views.xml +++ b/addons/stock/views/product_views.xml @@ -220,7 +220,7 @@ name="%(action_product_replenish)d" context="{'default_product_id': id}" groups="stock.group_stock_user" - attrs="{'invisible': [('type', '!=', 'product')]}"/> + attrs="{'invisible': [('type', 'not in', ['consu', 'product'])]}"/>