Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 #46269 X-original-commit: 59afc86 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
- Loading branch information
1 parent
c7851ad
commit 743d551
Showing
4 changed files
with
116 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters