Steps to reproduce the bug:
- Let's consider a company C with l10n_ch installed
- Try to create a vendor bill
Bug:
A traceback was raised.
PS: Function _is_qr_iban has an ensure_one and when creating a vendor bill
the function _is_qr_iban by _compute_l10n_ch_isr_needs_fixing was called with no partner_bank
opw:2416809
closesodoo/odoo#63441
X-original-commit: 6e374e25943106be84711233f3960f2f3a4b9aa9
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
QR-IBAN can be different than IBAN, so we added a separate field
to be able to put the QR-IBAN. It can be in handy in cases of
reconciliation afterwards or when different systems are used
at the same time.
If this field is filled in, we will use it for generating the
QR-IBAN barcode instead of the Account Number.
Thanks to Ravi Gohil.
closesodoo/odoo#57707
Task: 2307262
X-original-commit: 1cca4d9ec624b08cb85b1e53727fd67a3804c95a
Signed-off-by: Josse Colpaert <jco@openerp.com>