19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:07 +01:00
parent ba20ce7443
commit 768b70e05e
2357 changed files with 1057103 additions and 712486 deletions

View file

@ -5,15 +5,8 @@
<field name="model">account.tax</field>
<field name="inherit_id" ref="account.view_tax_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='children_tax_ids']" position="before">
<group attrs="{'invisible': [('amount_type','!=','code')]}">
<group>
<field name="python_compute" attrs="{'required':[('amount_type','=','code')]}" />
</group>
<group>
<field name="python_applicable" attrs="{'required':[('amount_type','=','code')]}" />
</group>
</group>
<xpath expr="//field[@name='amount_type']" position="after">
<field name="formula" invisible="amount_type != 'code'" required="amount_type == 'code'" />
</xpath>
</field>
</record>