[FIX] l10n_ch: Print QR-bill button should be only on customer invoices

opw-2320456

closes odoo/odoo#56679

X-original-commit: 66f8ebd9b2c34994b76475f55e6e28917d42ec53
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
This commit is contained in:
Andrea Grazioso (agr-odoo)
2020-08-27 15:06:54 +00:00
parent 7a97bde596
commit 30f589f748
@@ -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"
/>