From bde92f013fc65928e2c039cc4f18a6f1b3de14f9 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Thu, 30 Apr 2020 07:00:02 +0000 Subject: [PATCH] [FIX] stock_account: hide SVL of consumable - Create a consumable product - Assign a FIFO product category, automated valuation - Purchase some units - Go to the Inventory Valuation report The product appears in the list, while consumable should not. We only show products linked to stockable products. opw-2153840 X-original-commit: 8fa2440e8c055ca80bce27e33d5678745712fe53 --- addons/stock_account/views/stock_valuation_layer_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock_account/views/stock_valuation_layer_views.xml b/addons/stock_account/views/stock_valuation_layer_views.xml index 309e6c01393..8e632937d07 100644 --- a/addons/stock_account/views/stock_valuation_layer_views.xml +++ b/addons/stock_account/views/stock_valuation_layer_views.xml @@ -65,7 +65,7 @@ stock.valuation.layer tree,form - + [('product_id.type', '=', 'product')] {'search_default_group_by_product_id': 1}