mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 06:41:59 +02:00
19.0 vanilla
This commit is contained in:
parent
ff721d030e
commit
7721452493
1826 changed files with 124775 additions and 274114 deletions
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="view_company_form_inherit_l10n_fi" model="ir.ui.view">
|
||||
<field name="name">res.company.form.inherit.l10n_fi</field>
|
||||
<field name="model">res.company</field>
|
||||
<field name="inherit_id" ref="base.view_company_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='company_registry']" position="attributes">
|
||||
<attribute name="invisible" add="country_code == 'FI'" separator=" or "/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='company_registry']" position="after">
|
||||
<field name="company_registry" string="Business ID" options="{'placeholder_field': 'company_registry_placeholder'}" invisible="country_code != 'FI'"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="view_partner_form_inherit_l10n_fi" model="ir.ui.view">
|
||||
<field name="name">res.partner.form.inherit.l10n_fi</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='company_registry']" position="attributes">
|
||||
<attribute name="invisible" add="country_code == 'FI'" separator=" or "/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='company_registry']" position="after">
|
||||
<field name="company_registry" string="Business ID" options="{'placeholder_field': 'company_registry_placeholder'}" invisible="country_code != 'FI'"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue