Nicolas Lempereur
ee5f1e277d
[FIX] web: pivot no result no remove groupbys
...
Since f8b38f64d dictionaries "groupbys" are the same object between the
pivot model instance and the headers menu.
But this causes an issue in 12.0 since when there is no results, the
headers menu groupbys is truncated and now being the same object, the
pivot model instance is also truncated.
So succedding search that find results would possibly have lost the
groupbys which is unexpected and breaks some 12.0 tests not expecting
it.
With this changeset, the groupbys are not truncated anymore.
Without the change, the added test fails with:
Column groupby not lost after reload after empty results
expected: { "pivot_column_groupby": [ "customer" ],
"pivot_measures": [ "__count" ], "pivot_row_groupby": [] }
result: { "pivot_column_groupby": [], "pivot_measures":
[ "__count" ], "pivot_row_groupby": [] }
closes #31644
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com >
2019-03-06 17:02:35 +00:00
..
2019-03-14 09:36:41 +00:00
2019-03-10 03:14:20 +01:00
2019-03-14 09:36:41 +00:00
2019-03-01 02:45:39 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-02-24 03:16:28 +01:00
2019-03-03 03:15:43 +01:00
2019-02-24 03:16:28 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-02-01 02:44:47 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-13 09:51:14 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-01 02:45:39 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-01 02:45:39 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-02-28 12:39:03 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-01-04 12:37:01 +01:00
2019-01-24 12:24:04 +01:00
2019-02-28 12:39:03 +00:00
2019-01-23 16:40:41 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-08 15:17:12 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-04 13:53:50 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-14 18:42:19 +01:00
2019-03-13 16:15:34 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-07 02:28:39 +00:00
2019-01-02 10:49:56 +01:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-19 07:59:25 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-02-28 12:39:03 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-12 07:46:03 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-01 02:45:39 +01:00
2019-01-27 03:14:28 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-02-28 12:39:03 +00:00
2019-02-10 03:13:22 +01:00
2019-03-01 02:45:39 +01:00
2019-03-10 03:14:20 +01:00
2019-02-28 12:39:03 +00:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-12 13:15:40 +00:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-01 02:45:39 +01:00
2019-03-01 02:45:39 +01:00
2019-03-10 03:14:20 +01:00
2019-03-12 12:52:10 +00:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-12 15:35:19 +00:00
2019-03-13 09:55:40 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-02-28 12:39:03 +00:00
2019-03-03 03:15:43 +01:00
2019-02-28 12:39:03 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-06 17:02:35 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-02-28 12:39:03 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-02-28 12:39:03 +00:00
2019-03-10 03:14:20 +01:00
2019-03-03 03:15:43 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-01 02:45:39 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-13 16:15:34 +01:00
2019-03-12 14:50:52 +00:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00
2019-03-10 03:14:20 +01:00