Please sign in to comment.
[IMP] web: group by according to view
Before this commit: specific group by for pivot view/graph view is not working. After this commit: apply group by differently for different view using keys like 'pivot_row_groupby', 'graph_groupbys' i.e. if pivot_row_group by is pass in context then group by according to this in pivot view not default one give highest priority to pivot_row_groupby/graph_groupbys then group_by and then field have type from action context for default groupby in pivot/graph view related Task: #1848289,#36088 Co-authored-by: Mohammed Shekha <email@example.com> Co-authored-by: Suraj Shukla <firstname.lastname@example.org>
- Loading branch information...
Showing with 135 additions and 20 deletions.
- +3 −0 addons/web/static/src/js/chrome/action_manager_act_window.js
- +4 −4 addons/web/static/src/js/views/graph/graph_model.js
- +10 −1 addons/web/static/src/js/views/graph/graph_view.js
- +6 −7 addons/web/static/src/js/views/pivot/pivot_model.js
- +9 −0 addons/web/static/src/js/views/pivot/pivot_view.js
- +6 −0 addons/web/static/src/js/views/search/favorites_menu.js
- +30 −0 addons/web/static/src/js/views/search/search_view.js
- +60 −0 addons/web/static/tests/chrome/action_manager_tests.js
- +2 −2 addons/web/static/tests/views/graph_tests.js
- +5 −6 addons/web/static/tests/views/pivot_tests.js