mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-19 14:42:06 +02:00
19.0 vanilla
This commit is contained in:
parent
ba20ce7443
commit
768b70e05e
2357 changed files with 1057103 additions and 712486 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue