mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 09:01:59 +02:00
19.0 vanilla
This commit is contained in:
parent
ff721d030e
commit
7721452493
1826 changed files with 124775 additions and 274114 deletions
|
|
@ -1,16 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="res_company_form_inherit_nl" model="ir.ui.view">
|
||||
<field name="name">res.company.form.inherit.l10n.nl</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='vat']" position="after">
|
||||
<field name="l10n_nl_kvk" attrs="{'invisible': [('country_code', '!=', 'NL')]}"/>
|
||||
<field name="l10n_nl_oin" attrs="{'invisible': [('country_code', '!=', 'NL')]}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -6,11 +6,10 @@
|
|||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@data-key='account']/div" position="after">
|
||||
<xpath expr="//app[@name='account']/block" position="after">
|
||||
<div id="dutch_localization_section" invisible="1">
|
||||
<h2 attrs="{'invisible':[('country_code', '!=', 'NL')]}">Dutch Localization</h2>
|
||||
<div class="row mt16 o_settings_container" id="dutch_localization" attrs="{'invisible':[('country_code', '!=', 'NL')]}">
|
||||
</div>
|
||||
<block title="Dutch Localization" id="dutch_localization" invisible="country_code != 'NL'">
|
||||
</block>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="view_partner_form_inherit_l10n_nl" model="ir.ui.view">
|
||||
<field name="name">res.partner.form.inherit.l10n_nl</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="after">
|
||||
<field name="l10n_nl_kvk" attrs="{'invisible': ['|', ('country_code', '!=', 'NL'), ('is_company', '=', False)]}"/>
|
||||
<field name="l10n_nl_oin" attrs="{'invisible': ['|', ('country_code', '!=', 'NL'), ('is_company', '=', False)]}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue