diff options
| author | Martin Geubelle <mge@odoo.com> | 2018-09-24 16:32:19 +0200 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2018-09-25 09:53:48 +0200 |
| commit | 587b21fb4676fedca5776348a6594a64517241dd (patch) | |
| tree | 61fbccb61583d2fd399cb07de84fba7640175f4b /odoo/modules/loading.py | |
| parent | 15f811c47a108ff2efa2c59532a609eda50c76a8 (diff) | |
[FIX] base: correctly keep report values
When rendering a report (`render_qweb_html` for example), one can pass `data`
(a dict of values, used for the template rendering).
This dict was overriden in `_get_rendering_context` if the method
`_get_report_values` on the report model was not correctly written.
This was causing an issue when rendering a report in Studio because the `studio`
key was overriden.
Now, the `data` dict is updated (instead of replaced) with the rendering context.
Diffstat (limited to 'odoo/modules/loading.py')
0 files changed, 0 insertions, 0 deletions
