29 lines
1.2 KiB
XML
29 lines
1.2 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<odoo>
|
||
|
<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>
|
||
|
</odoo>
|