mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[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:
committed by
Carlos Roca
parent
f5ea5a34a9
commit
40ca6b4670
@@ -4,7 +4,7 @@
|
||||
{
|
||||
"name": "Account Move Line Tax Editable",
|
||||
"summary": "Allows to edit taxes on non-posted account move lines",
|
||||
"version": "13.0.1.0.0",
|
||||
"version": "13.0.1.1.0",
|
||||
"license": "AGPL-3",
|
||||
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/account-financial-tools",
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user