summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/stock_account/views/product_views.xml2
1 files changed, 1 insertions, 1 deletions
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 @@
<group name="account_property" position="before">
<group>
<group string="Inventory Valuation">
- <field name="property_cost_method" attrs="{'invisible': [('property_valuation', '=', 'manual_periodic')]}"/>
+ <field name="property_cost_method" groups="stock_account.group_inventory_valuation"/>
<field name="property_valuation"/>
</group>
</group>