2
0
account-financial-tools/account_move_line_tax_editable/views/account_move.xml
Héctor Villarreal Ortega ec273115f5 [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.
2023-05-24 09:26:37 +02:00

24 lines
901 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 ACSONE SA/NV
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="view_move_form" model="ir.ui.view">
<field name="name">account.move.form (in account_move_line_tax_editable)</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<xpath
expr="//field[@name='line_ids']/tree/field[@name='name']"
position="after"
>
<field name="is_tax_editable" invisible="1" />
<field
name="tax_line_id"
attrs="{'readonly': [('is_tax_editable', '=', False)]}"
optional="hide"
/>
</xpath>
</field>
</record>
</odoo>