summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/graph/graph_controller.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-08-22 08:45:52 +0200
committerAaron Bohy <aab@odoo.com>2017-08-24 07:20:22 +0200
commitacb9d60d944f21606ee4a9decb752a7a24c65d9d (patch)
tree06e1cfa05d4845d7c94e8e07df06edaf0c370a4e /addons/web/static/src/js/views/graph/graph_controller.js
parentdb0810dc6e063ff1b3d6dd50f13844ed812d4f1e (diff)
[FIX] web: Pivot: handle __count__ measure
The former implementation of the Pivot view used __count__ as magic field to display the number of records in groups. However, in filters defined in xml, __count is used instead of __count__, so it crashed when such filters were activated. With the new views, we made those filters work by using __count. However, if a user saved filters using __count__ at that time as favorite, activating them in the new views produces a crash as well. This rev. adds a compatibility layer to ensure that the pivot view handles both __count__ and __count measures uniformly.
Diffstat (limited to 'addons/web/static/src/js/views/graph/graph_controller.js')
0 files changed, 0 insertions, 0 deletions