flectra/addons/l10n_fr/views/l10n_fr_view.xml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

32 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<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>
</odoo>