mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
31 lines
1.4 KiB
XML
31 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<!-- Add the SIREN and RC -->
|
|
<record model="ir.ui.view" id="view_partner_add">
|
|
<field name="name">res.partner.form.siret</field>
|
|
<field name="model">res.partner</field>
|
|
<field name="inherit_id" ref="account.view_partner_property_form" />
|
|
<field name="arch" type="xml">
|
|
<page string="Accounting" position="inside">
|
|
<group>
|
|
<group col="4">
|
|
<!-- oe_read_only hides the field in read mode
|
|
in v8+. v7.0 shows the field - no big deal.
|
|
Those who care can patch the web client:
|
|
lp:~numerigraphe-team/ocb-web/7.0-hide-oe_read_only
|
|
-->
|
|
<field name="siret" colspan="4" class="oe_read_only" />
|
|
<field name="siren" class="oe_edit_only" string="SIREN/NIC" colspan="3"/>
|
|
<field name="nic" class="oe_edit_only" nolabel="1"/>
|
|
</group>
|
|
<group>
|
|
<field name="company_registry" />
|
|
</group>
|
|
</group>
|
|
</page>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|