Commit Graph
3 Commits
Author SHA1 Message Date
Goffin Simon 1b2aef65f4 [FIX] l10n_ch, l10n_ch_qriban: Impossible to create a vendor bill
Fine tuning of this commit: https://github.com/odoo/odoo/commit/6e374e25943106be84711233f3960f2f3a4b9aa9

To fix the issue when l10n_ch_qriban is not installed

opw:2416809

closes odoo/odoo#63478

X-original-commit: b226f07628618aac6ada0ffce736e29cb1cdc550
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2020-12-16 17:39:33 +00:00
Goffin Simon a7afb5377c [FIX] l10n_ch_qriban: Impossible to create a vendor bill
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

closes odoo/odoo#63441

X-original-commit: 6e374e25943106be84711233f3960f2f3a4b9aa9
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2020-12-16 12:01:14 +00:00
Ravi Gohil ea2472b84f [ADD] l10n_ch_qriban: QR-IBAN field on bank account
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.

closes odoo/odoo#57707

Task: 2307262
X-original-commit: 1cca4d9ec624b08cb85b1e53727fd67a3804c95a
Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-09-15 08:46:17 +00:00