19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:21 +01:00
parent 7dc55599c6
commit 7f43bbbfcc
650 changed files with 45260 additions and 33436 deletions

View file

@ -7,8 +7,8 @@
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='fiscal_position_id']" position="after">
<field name="l10n_sg_permit_number"/>
<field name="l10n_sg_permit_number_date"/>
<field name="l10n_sg_permit_number" invisible="country_code != 'SG'"/>
<field name="l10n_sg_permit_number_date" invisible="country_code != 'SG'"/>
</xpath>
</field>
</record>

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_partner_bank_form_inherit_account" model="ir.ui.view">
<field name="name">res.partner.bank.form.inherit</field>
<field name="model">res.partner.bank</field>
<field name="inherit_id" ref="base.view_partner_bank_form"/>
<field name="arch" type="xml">
<field name="include_reference" position="after">
<p invisible="country_code != 'SG'">
<widget name="documentation_link" path="/applications/finance/fiscal_localizations/singapore.html" label="Documentation"/>
</p>
</field>
</field>
</record>
</odoo>

View file

@ -7,7 +7,7 @@
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='email']" position="after">
<field name="l10n_sg_unique_entity_number" attrs="{'invisible': [('country_code', '!=', 'SG')]}"/>
<field name="l10n_sg_unique_entity_number" invisible="country_code != 'SG'"/>
</xpath>
</field>
</record>

View file

@ -4,10 +4,10 @@
<record id="view_partner_form_l10n_sg" model="ir.ui.view">
<field name="name">l10n_sg.partner.form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="inherit_id" ref="account.view_partner_property_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='vat']" position="before">
<field name="l10n_sg_unique_entity_number"/>
<field name="l10n_sg_unique_entity_number" invisible="'SG' not in fiscal_country_codes"/>
</xpath>
</field>
</record>