mirror of
https://gitlab.com/flectra-community/l10n-switzerland-flectra.git
synced 2024-12-25 05:41:45 +00:00
27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<flectra>
|
||
|
<record id="isr_partner_bank_form" model="ir.ui.view">
|
||
|
<field name="name">l10n_ch.res.partner.bank.form</field>
|
||
|
<field name="model">res.partner.bank</field>
|
||
|
<field name="inherit_id" ref="l10n_ch.isr_partner_bank_form" />
|
||
|
<field name="arch" type="xml">
|
||
|
<field name="l10n_ch_isr_subscription_eur" position="after">
|
||
|
<field
|
||
|
name="l10n_ch_isrb_id_number"
|
||
|
attrs="{'invisible': [('l10n_ch_show_subscription', '=', False)]}"
|
||
|
/>
|
||
|
</field>
|
||
|
<!-- remove l10n_ch_postal from view when the account is current company -->
|
||
|
<label for="l10n_ch_postal" position="attributes">
|
||
|
<attribute name="invisible">1</attribute>
|
||
|
</label>
|
||
|
<xpath
|
||
|
expr="//field[@name='l10n_ch_postal' and @nolabel='1']"
|
||
|
position="attributes"
|
||
|
>
|
||
|
<attribute name="invisible">1</attribute>
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
</flectra>
|