Hello all,
I'm dealing with strange behaviour with replacing field in Asset Form what i want to do is make field invisible in case of method has specific value.
Any one have Idea what is wrong?
Not working
<xpath expr="//field[@name='prorata_computation_type']" position="replace">
<field name="prorata_computation_type" invisible="method in ['l10n_cz_asset_systee_same_as_tax']" readonly="state not in ['draft', 'model']"/>
</xpath>
Working
<xpath expr="//field[@name='prorata_date']" position="replace">
<field name="prorata_date" invisible="method in ['l10n_cz_asset_systee_same_as_tax']" readonly="state not in ['draft', 'model']"/>
</xpath>