2020-01-30 18:58:17 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2017-05-17 16:30:51 +02:00
|
|
|
<!-- Copyright 2017 ACSONE SA/NV
|
2022-11-28 15:56:32 +01:00
|
|
|
Copyright 2022 FactorLibre - Luis J. Salvatierra <luis.salvatierra@factorlibre.com>
|
2017-05-17 16:30:51 +02:00
|
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
|
|
|
<odoo>
|
2019-04-25 16:57:45 +02:00
|
|
|
<record id="view_move_form" model="ir.ui.view">
|
2017-05-17 16:30:51 +02:00
|
|
|
<field name="name">account.move.form (in account_move_line_tax_editable)</field>
|
|
|
|
<field name="model">account.move</field>
|
2020-01-30 18:58:17 +01:00
|
|
|
<field name="inherit_id" ref="account.view_move_form" />
|
2017-05-17 16:30:51 +02:00
|
|
|
<field name="arch" type="xml">
|
2020-01-30 18:58:17 +01:00
|
|
|
<xpath
|
2022-11-28 15:56:32 +01:00
|
|
|
expr="//field[@name='line_ids']/tree/field[@name='tax_line_id']"
|
|
|
|
position="before"
|
2020-01-30 18:58:17 +01:00
|
|
|
>
|
|
|
|
<field name="is_tax_editable" invisible="1" />
|
2022-11-28 15:56:32 +01:00
|
|
|
</xpath>
|
|
|
|
<xpath
|
|
|
|
expr="//field[@name='line_ids']/tree/field[@name='tax_line_id']"
|
|
|
|
position="attributes"
|
|
|
|
>
|
|
|
|
<attribute name="invisible">0</attribute>
|
|
|
|
<attribute
|
|
|
|
name="attrs"
|
|
|
|
>{'readonly': [('is_tax_editable', '=', False)]}</attribute>
|
|
|
|
<attribute name="optional">hide</attribute>
|
|
|
|
</xpath>
|
|
|
|
<xpath
|
|
|
|
expr="//field[@name='line_ids']/tree/field[@name='tax_ids']"
|
|
|
|
position="after"
|
|
|
|
>
|
|
|
|
<xpath
|
|
|
|
expr="//field[@name='line_ids']/tree/field[@name='tax_line_id']"
|
|
|
|
position="move"
|
2020-01-30 18:58:17 +01:00
|
|
|
/>
|
2017-05-17 16:30:51 +02:00
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</odoo>
|