[16.0][IMP] account_tax_balance

We have improved this module by hiding the financial type field only in the sales invoices and the purchase invoice and in the refunds
pull/1051/head
Andrea 2023-07-12 12:28:25 +02:00
parent 9989c4ec2a
commit e1ca7256e5
1 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,10 @@
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<field name="ref" position="after">
<field name="financial_type" />
<field
name="financial_type"
attrs="{'invisible': [('move_type', 'in', ['out_invoice','in_invoice','out_refund','in_refund'])]}"
/>
</field>
</field>
</record>