[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:
@@ -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"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user