flectra/addons/l10n_fr/views/l10n_fr_view.xml

32 lines
1.2 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<record id="res_company_form_l10n_fr" model="ir.ui.view">
<field name="name">res.company.form.l10n.fr</field>
<field name="model">res.company</field>
<field name="priority">20</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='company_registry']" position="after">
<field name="siret"/>
<field name="ape"/>
</xpath>
</data>
</field>
</record>
<record id="res_partner_form_l10n_fr" model="ir.ui.view">
<field name="name">res.partner.form.l10n.fr</field>
<field name="model">res.partner</field>
<field name="priority">20</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='ref']" position="after">
<field name="siret" attrs="{'invisible': [('is_company', '=', False)]}"/>
</xpath>
</data>
</field>
</record>
2018-01-16 11:34:37 +01:00
</flectra>