2020-10-11 00:23:33 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2014-10-07 22:17:18 +02:00
|
|
|
<!--
|
2020-10-11 00:22:05 +02:00
|
|
|
Copyright 2013-2020 Akretion France (https://akretion.com/)
|
2019-01-31 23:21:17 +01:00
|
|
|
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
2016-10-11 12:09:26 +02:00
|
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
2014-10-07 22:17:18 +02:00
|
|
|
-->
|
2016-10-11 12:09:26 +02:00
|
|
|
<odoo>
|
2020-10-11 00:23:33 +02:00
|
|
|
<record id="view_account_position_form" model="ir.ui.view">
|
|
|
|
<field name="name">customer.must.have.vat.fiscal_position_form</field>
|
|
|
|
<field name="model">account.fiscal.position</field>
|
|
|
|
<field name="inherit_id" ref="account.view_account_position_form" />
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="vat_required" position="attributes">
|
|
|
|
<!-- always display that field -->
|
|
|
|
<attribute name="attrs">{}</attribute>
|
|
|
|
</field>
|
2014-10-07 22:17:18 +02:00
|
|
|
</field>
|
2020-10-11 00:23:33 +02:00
|
|
|
</record>
|
|
|
|
<record id="view_account_position_tree" model="ir.ui.view">
|
|
|
|
<field name="name">customer.must.have.vat.fiscal_position_tree</field>
|
|
|
|
<field name="model">account.fiscal.position</field>
|
|
|
|
<field name="inherit_id" ref="account.view_account_position_tree" />
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<field name="name" position="after">
|
|
|
|
<field name="vat_required" />
|
|
|
|
</field>
|
2014-10-07 22:17:18 +02:00
|
|
|
</field>
|
2020-10-11 00:23:33 +02:00
|
|
|
</record>
|
2016-10-11 12:09:26 +02:00
|
|
|
</odoo>
|