[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user