summaryrefslogtreecommitdiff
path: root/odoo/modules/loading.py
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2018-09-24 16:32:19 +0200
committerMartin Geubelle <mge@odoo.com>2018-09-25 09:53:48 +0200
commit587b21fb4676fedca5776348a6594a64517241dd (patch)
tree61fbccb61583d2fd399cb07de84fba7640175f4b /odoo/modules/loading.py
parent15f811c47a108ff2efa2c59532a609eda50c76a8 (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