[REF] stock_account: make standard price readonly if perpetual

This was the case in saas-16.
This commit is contained in:
Simon Lejeune
2017-08-25 16:10:20 +02:00
parent 11dc6d2702
commit 3ed024e898
+1 -1
View File
@@ -39,8 +39,8 @@
</field>
<field name="standard_price" position="replace">
<field name="standard_price"
attrs="{'readonly':[('valuation','=','real_time')]}"
widget='monetary' options="{'currency_field': 'currency_id'}"/>
</field>
<div name="standard_price_uom" position="after">
<button string="Update Cost" type="action"