summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMathieu Duckerts-Antoine <dam@odoo.com>2020-02-21 12:38:27 +0000
committerMathieu Duckerts-Antoine <dam@odoo.com>2020-02-25 15:30:06 +0000
commit743d55133166071e67e85f8dafe3076839f143d6 (patch)
tree5b327dd3d0b3a9fb0d1288b1d6ab08a0c2399a5c /addons/web/static/src/js/views/basic/basic_controller.js
parentc7851add36575ce3f34a692a53acfdf4432a4d0c (diff)
[FIX] web: Regroup and order date groupby options
A previous commit makes the graph view render only the finer interval option for each date/datetime field. The fact is that in the control panel, different options can be selected in any order along with other groupbys. This can lead to situations like 'Foo > Date: Day > Bar > Date: Month' and becomes unreadable. For that reason we choose to regroup and order options. For the previous situation, this leads to the following global groupby 'Foo > Date: Month > Date: Day > Bar'. Our choice also make more sense in a list view for instance. Task ID: 2198846 closes odoo/odoo#46269 X-original-commit: 59afc869233165e21ef94f485b91d33ac4543b24 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions