diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-04-13 10:49:35 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-04-17 13:43:46 +0200 |
| commit | df02dc37fd2febd3fc899792ee25c80c0149d255 (patch) | |
| tree | 99ba801510ba04076ba247e04c9a84574054511e /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | b5d026be7f68f092fdded58429097f02d3fc44ae (diff) | |
[FIX] web: pivot: correctly save and restore groupbys on rows and cols
On a pivot view expand a field in column
another one in row
Then put a domain in the search view
Save the whole thing (ir.filter) as favorite
Before this commit, the ir.filter was not saved the right way when a domain was present
(Let alone its restoration)
This was because of
- the internal default groupbys of the pivot model was not updated, and what we got in the params was overwritten
by what existed before
- a slight typo in the code made the row updated with the col values
OPW 1835865
OPW 1829925
closes #24215
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
