summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-11-05 13:16:41 +0000
committerGéry Debongnie <ged@odoo.com>2018-11-06 08:53:21 +0000
commitbaeb1a1938eee92ed810a6d6a7b7feed4f84acc9 (patch)
treeb017d15b623702ae434e56f1df826ca05289d22f /addons/web/static/src/js/views/basic/basic_view.js
parent764bd645fc1e6628fa743b498ae4c5cda25c9b3c (diff)
[FIX] web: accept field name as a groupby descriptor
In some cases, and for historical reasons, the groupby property can be expressed as a string (for example, 'stage_id') instead of a list of strings (for example, ['stage_id']). However, the support was not complete. A crash could happen in some cases. For example, if there is a group_by: 'stage_id' property in the context of an action, it works in list view, but adding that view to the dashboard would result in a crash, without this commit.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions