flectra/addons/base_vat_autocomplete/views/res_company_view.xml

19 lines
687 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!--
The purpose of this view is to move the VAT field at the top of the
company form. That way, the user will fill it first
-->
2018-01-16 11:34:37 +01:00
<flectra>
<record id="res_company_view_form" model="ir.ui.view">
<field name="name">res.company.view.form</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='vat']" position="replace" />
<field name="partner_id" position="after">
2018-07-13 11:51:12 +02:00
<field name="vat" string="VAT"/>
</field>
</field>
</record>
2018-01-16 11:34:37 +01:00
</flectra>