From 0a28b776ff61ba256b3e9daedd4f0aa940d39b7b Mon Sep 17 00:00:00 2001 From: amoyaux Date: Thu, 16 Feb 2017 11:28:19 +0100 Subject: [FIX] stock_account: costing method on product category The field "costing method" on the product.category only appears when the inventory valuation is set to "perpetual (automated)" which is wrong. The user must be able to choose the costing method no matter which inventory valuation method is chosen. The problem is due to this commit b6a2c0a4ce239879942ed65841204358fbe7f197 that changes the xml view and make the field invisible if the inventory valuation is set to "Periodic (manual)". This commit revert the change on the xml view and thus add again the group attribute that should not have been removed. --- addons/stock_account/views/product_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock_account/views/product_views.xml b/addons/stock_account/views/product_views.xml index a987ce08110..8587f2aebe2 100644 --- a/addons/stock_account/views/product_views.xml +++ b/addons/stock_account/views/product_views.xml @@ -18,7 +18,7 @@ - + -- cgit v1.2.3