diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-08-20 09:55:24 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-08-27 14:34:08 +0000 |
| commit | 77820f6d44746d12a0fe708c5a7004ede256014b (patch) | |
| tree | 53767c42faa0b1334d8fce0c3587ac0a92db685f /addons/l10n_ch | |
| parent | 2ebbeb4b5443c6405dd9a3b202a1eee9c5c67ebb (diff) | |
[FIX] l10n_ch: Print QR-bill button should be only on customer invoices
opw-2320456
closes odoo/odoo#56672
X-original-commit: 66f8ebd9b2c34994b76475f55e6e28917d42ec53
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/l10n_ch')
| -rw-r--r-- | addons/l10n_ch/views/account_invoice_view.xml | 2 |
1 files changed, 2 insertions, 0 deletions
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" /> |
