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
|
|
|
|
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
|
|
|
|
expr="//field[@name='line_ids']/tree/field[@name='name']"
|
|
|
|
position="after"
|
|
|
|
>
|
|
|
|
<field name="is_tax_editable" invisible="1" />
|
|
|
|
<field
|
|
|
|
name="tax_line_id"
|
2020-11-03 11:10:55 +01:00
|
|
|
attrs="{'readonly': [('is_tax_editable', '=', False)]}"
|
|
|
|
optional="hide"
|
2020-01-30 18:58:17 +01:00
|
|
|
/>
|
2017-05-17 16:30:51 +02:00
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</odoo>
|