Skip to content
Snippets Groups Projects
Commit f19025b0 authored by OCA Git Bot's avatar OCA Git Bot
Browse files

Merge remote-tracking branch 'odoo/14.0' into 14.0

parents 911917b3 d153cfcd
No related branches found
No related tags found
No related merge requests found
......@@ -304,8 +304,6 @@ class ResPartnerBank(models.Model):
# see https://github.com/arthurdejong/python-stdnum/blob/master/stdnum/iso11649.py
def _eligible_for_qr_code(self, qr_method, debtor_partner, currency):
if qr_method == 'sct_qr' and debtor_partner.country_id.code == 'CH' and self.journal_id.country_code == 'CH':
return False
if qr_method == 'ch_qr':
return self.acc_type == 'iban' and \
(not debtor_partner or debtor_partner.country_id.code in ('CH', 'LI')) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment