[FIX] stock_account: valuation wizard

The invisible attrs was not working anymore since the new view, where 0
is different than False.
This commit is contained in:
Simon Lejeune
2017-08-25 16:10:20 +02:00
parent 9439f6aa55
commit 9e861febd5
@@ -8,7 +8,7 @@
<group>
<group>
<field name="compute_at_date" widget="radio"/>
<field name="date" attrs="{'invisible': [('compute_at_date', '=', False)]}"/>
<field name="date" attrs="{'invisible': [('compute_at_date', '=', 0)]}"/>
</group>
</group>
<footer>