summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMathieu Duckerts-Antoine <dam@odoo.com>2019-06-19 08:16:03 +0000
committerMathieu Duckerts-Antoine <dam@odoo.com>2019-06-19 08:36:44 +0000
commit92a1f215c0518a1e33d08f003a6098a0401ccd3b (patch)
treecfda015c92ebbc176ed5a6943e69cd6c36df337b /addons/web/static/src/js/views/basic/basic_controller.js
parentba2c179c44af63ae1473e3c9ea3428fdddaf48b2 (diff)
[FIX] web: pie chart structure not modified by favorites
A pie chart widget aims to instantiate a graph view in mode 'pie', with a measure and a single groupby specified via some attributes. It turns out that if a pie chart is instantiated in a context in which the keys 'graph_mode', 'graph_measure', and 'graph_groupbys' are present, that keys prevail over the pie chart specification. This can produce a line chart for instance. This fix corrects that situation. A test has been added in a corresponding commit in enterprise (historically, the pie chart widgets are tested in dashboard views). closes odoo/odoo#34234 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions