diff options
| author | Raphael Collet <rco@odoo.com> | 2018-04-18 10:48:40 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2018-04-18 15:47:30 +0200 |
| commit | 87b42ad9a887faacbbefcab9dd0703a5c51ce28b (patch) | |
| tree | 2c2ded64f12477709b657c355850ec648b9b35e0 /addons/web/static/src/js | |
| parent | 2f037a13ca3a3f4e570f19b11af3e75acb9618d3 (diff) | |
[FIX] models: make group by date and order by date work together
The issue occurs when `read_group` is called with a date/datetime field to
group and order on, and the group_by is qualified, such as:
model.read_group(..., groupby=['date:week'], orderby='date')
The ORDER BY clause in the query should use the same term as the GROUP BY
clause for the corresponding field.
OPW 1834148
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
