diff options
| author | oco-odoo <oco@odoo.com> | 2020-01-14 12:58:07 +0000 |
|---|---|---|
| committer | oco-odoo <oco@odoo.com> | 2020-01-15 14:01:34 +0000 |
| commit | aea045d446537e9daacc153865702eb76d8497b7 (patch) | |
| tree | 5a35f5a4dfc6b48314da807e8712270ae9c38198 /addons/project/data/project_data.xml | |
| parent | 1aaf095a1a1ec885ae7f3c96c9838246540962ce (diff) | |
[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#43351
X-original-commit: 60a55834b5ae0a8ac10914a243f97029d9921ae6
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/project/data/project_data.xml')
0 files changed, 0 insertions, 0 deletions
