-
- Downloads
[FIX] l10n_ch: don't assume the bank account of the company always has a currency_id
Since this field is not required on res.partner.bank (which is fine: we want it to be synchronized with the journal's currency, which is None if the journal uses company currency), the parameter received by validate_swiss_code_arguments ended out being an empty recordset in case the company was directly in CHF. This caused the QR code to never be displayed in this situation.
closes odoo/odoo#43282
Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
Please register or sign in to comment