diff options
| author | Jason Van Malder <jvm@odoo.com> | 2019-12-03 07:55:32 +0000 |
|---|---|---|
| committer | Jason Van Malder <jvm@odoo.com> | 2019-12-03 07:55:32 +0000 |
| commit | bde09810c7bb71230b0f59ba07a7a1588dc1cb14 (patch) | |
| tree | 984bad049913712992df78599a9b9dd6529cb0a4 /doc/reference/javascript_reference.rst | |
| parent | 32b2718b3bbfc7aec37dd45f7c3f509fbaa5348b (diff) | |
[FIX] l10n_ch: fix isr report crash with studio
Issue
- Swiss company
- Install Accounting & Studio
- Journals > Customers Invoice
- Communication standard: Switzerland
- Journals > Bank
- Swizz account with CHF ISR subscription number
- Studio > Reports > ISR
Traceback
Cause
If the statement of the `l10n_ch_isr_optical_line` compute
method is False, the value will be `None`.
In the view, we do a foreach on the value which is `None` and
it crashes.
Solution
Set an empty string as default value for the
`l10n_ch_isr_optical_line` field
OPW-2129122
closes odoo/odoo#41247
X-original-commit: a0dc556b0e04c9e89e7f6a8e4e9af045151614f7
Signed-off-by: Jason Van Malder <jasonvanmalder@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
