diff --git a/addons/l10n_ch/views/account_invoice_view.xml b/addons/l10n_ch/views/account_invoice_view.xml index 1c5a59284a8..428516b8932 100644 --- a/addons/l10n_ch/views/account_invoice_view.xml +++ b/addons/l10n_ch/views/account_invoice_view.xml @@ -46,6 +46,7 @@ type="object" attrs="{'invisible':['|', ('state', '!=', 'posted'), '|', ('l10n_ch_isr_sent', '=', True), + '|', ('type', 'not in', ('out_invoice', 'out_refund')), ('l10n_ch_currency_name', 'not in', ['EUR', 'CHF'])]}" groups="base.group_user" class="oe_highlight" @@ -56,6 +57,7 @@ type="object" attrs="{'invisible':['|', ('state', '!=', 'posted'), '|', ('l10n_ch_isr_sent', '=', False), + '|', ('type', 'not in', ('out_invoice', 'out_refund')), ('l10n_ch_currency_name', 'not in', ['EUR', 'CHF'])]}" groups="base.group_user" />