flectra/addons/base_vat_autocomplete/views/res_partner_views.xml

29 lines
1.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<record id="view_partner_form" model="ir.ui.view">
<field name="name">res.partner.vat.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='vat']" position="replace">
</xpath>
<xpath expr="//label[@for='street']" position="before">
<field name="vat" string="VAT" placeholder="e.g. BE0477472701"/>
</xpath>
</field>
</record>
<record id="view_partner_short_form" model="ir.ui.view">
<field name="name">res.partner.short.vat.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_short_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='vat']" position="replace">
</xpath>
<xpath expr="//label[@for='street']" position="before">
<field name="vat" string="VAT" placeholder="e.g. BE0477472701"/>
</xpath>
</field>
</record>
2018-01-16 11:34:37 +01:00
</flectra>