Skip to content
Snippets Groups Projects
Commit 49a97305 authored by Mathieu Duckerts-Antoine's avatar Mathieu Duckerts-Antoine
Browse files

[REF] *: pivot view refactoring


The main aim of the present refactoring is twofold:

- simplify the code that was largely complexified at the time of the
introduction of comparisons in the pivot view (Time Ranges menu),

- factorize the method expandHeader and _loadData that were too much complex.

Along the way, the pivot model structure has been simplified
and many tests have been added.
Performances in mobile mode have been improved by avoiding
unecessary operations due to useless column groupbys in that
mode.
It should now be easier to understand and modify the pivot view in future.

Co-Authored-By: default avatarAaron Bohy <aab@odoo.com>

closes odoo/odoo#33615

Signed-off-by: default avatarGéry Debongnie (ged) <ged@openerp.com>
parent 1ef258f6
No related branches found
No related tags found
No related merge requests found
Showing
with 2498 additions and 1623 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment