From 9c3742445a0e2aebaa595c13da094b21e190cf6c Mon Sep 17 00:00:00 2001 From: Renzo Meister Date: Thu, 20 Jan 2022 18:29:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Generation=20of=20QR=20Invoice?= =?UTF-8?q?=20not=20working=20->l10n=5Fch=5Fbase=5Fbank?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- l10n_ch_base_bank/models/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_ch_base_bank/models/invoice.py b/l10n_ch_base_bank/models/invoice.py index 005efaa..55bd4ba 100644 --- a/l10n_ch_base_bank/models/invoice.py +++ b/l10n_ch_base_bank/models/invoice.py @@ -86,7 +86,7 @@ class AccountMove(models.Model): ) ) if ( - bank_acc.acc_type != "qr-iban" + bank_acc.acc_type not in ["qr-iban", 'iban'] and ( move.currency_id.name == "CHF" and not bank_acc.l10n_ch_isr_subscription_chf