[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
This commit is contained in:
Andrea
2023-07-12 12:28:25 +02:00
committed by Borruso
parent 1bf1bcf44b
commit ca85904cc4
5 changed files with 332 additions and 26 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>