2
0

[FIX] account_move_line_tax_editable:

* [FIX] Do not hide Originator Tax
* [IMP] Add optional hide option to Originator Tax
* [FIX] Drop tax_ids field from Journal Item page, as it is already displayed.
This commit is contained in:
Héctor Villarreal Ortega 2020-11-03 11:10:55 +01:00 committed by Luis J. Salvatierra
parent e2056d8e2c
commit ec273115f5

View File

@ -14,12 +14,8 @@
<field name="is_tax_editable" invisible="1" />
<field
name="tax_line_id"
attrs="{'readonly': [('is_tax_editable', '=', False)], 'invisible': [('parent.type', '!=', 'entry')]}"
/>
<field
name="tax_ids"
attrs="{'readonly': [('is_tax_editable', '=', False)], 'invisible': [('parent.type', '!=', 'entry')]}"
widget="many2many_tags"
attrs="{'readonly': [('is_tax_editable', '=', False)]}"
optional="hide"
/>
</xpath>
</field>