mirror of
https://github.com/bringout/oca-ocb-l10n_asia-pacific.git
synced 2026-04-27 01:42:04 +02:00
19.0 vanilla
This commit is contained in:
parent
7dc55599c6
commit
7f43bbbfcc
650 changed files with 45260 additions and 33436 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue