diff options
| author | xmo-odoo <xmo-odoo@users.noreply.github.com> | 2016-05-13 17:28:19 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-06-10 16:31:23 +0200 |
| commit | b466a9eea024d66ba10b6c1927252951faa4b188 (patch) | |
| tree | d3d8500c81af2fa36f6caa9815cc33a3cd188493 /setup | |
| parent | 1412a73d74640f235dbd5b03a8d290a5ad713b5a (diff) | |
[FIX] report: Backport of 6d73087d to 9.0
Closes #12131
[FIX] report: don't hide errors in custom reports
If a custom report's render_html raises a KeyError for some
reason, Report.get_html would swallow the exception and fallback
on generic HTML rendering, usually blowing up with unfathomable
errors of missing rendering context data.
Check if a custom report object exists instead of waiting for a
KeyError.
Diffstat (limited to 'setup')
0 files changed, 0 insertions, 0 deletions
