diff options
| author | jbw <jbw@odoo.com> | 2020-10-07 07:10:07 +0000 |
|---|---|---|
| committer | jbw <jbw@odoo.com> | 2020-10-20 07:09:23 +0000 |
| commit | d26ce71bc759f9edff2dfa84133e1ae73d62f9b2 (patch) | |
| tree | b4844d59e8df62d711afe0babc5608817539d678 /addons/l10n_ch | |
| parent | a455999588053d528cc779b070cac31ab3b273df (diff) | |
[FIX] l10n_ch : Remove Print QR-bill from Credit Notes
There is no plausible case where "print QR-invoice" button is needed
on Credit Note form view.
closes odoo/odoo#60310
Task: 2351817
X-original-commit: 125534a893299e42f42dd481fd8a2db5ef99439d
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Signed-off-by: jbw-odoo <jbw-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/l10n_ch')
| -rw-r--r-- | addons/l10n_ch/views/account_invoice_view.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/l10n_ch/views/account_invoice_view.xml b/addons/l10n_ch/views/account_invoice_view.xml index a4f91313a13..3de4c658e60 100644 --- a/addons/l10n_ch/views/account_invoice_view.xml +++ b/addons/l10n_ch/views/account_invoice_view.xml @@ -46,7 +46,7 @@ type="object" attrs="{'invisible':['|', ('state', '!=', 'posted'), '|', ('l10n_ch_isr_sent', '=', True), - '|', ('move_type', 'not in', ('out_invoice', 'out_refund')), + '|', ('move_type', '!=', 'out_invoice'), ('l10n_ch_currency_name', 'not in', ['EUR', 'CHF'])]}" groups="base.group_user" class="oe_highlight" @@ -57,7 +57,7 @@ type="object" attrs="{'invisible':['|', ('state', '!=', 'posted'), '|', ('l10n_ch_isr_sent', '=', False), - '|', ('move_type', 'not in', ('out_invoice', 'out_refund')), + '|', ('move_type', '!=', 'out_invoice'), ('l10n_ch_currency_name', 'not in', ['EUR', 'CHF'])]}" groups="base.group_user" /> |
