summaryrefslogtreecommitdiff
path: root/addons/web/controllers/pivot.py
AgeCommit message (Collapse)Author
2020-01-28[IMP] web: change pivot download file from xls to xlsxMohammed Shekha
before this commit: file was downloaded in xls format, which supports maximum 256 columns and 65536 rows. after this commit: pivot returns xlsx file when table printed and downloaded, we have support of xlsxwriter, xlsx file supports 16384 columns and 1048576 rows task-2127388
2019-08-02[REF] *: pivot view refactoringMathieu Duckerts-Antoine
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: Aaron Bohy <aab@odoo.com> closes odoo/odoo#33615 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2018-07-13[FIX] the ; in content-disposition is a separator not a terminatorXavier Morel
According to RFC 6266, content-disposition = "Content-Disposition" ":" disposition-type *( ";" disposition-parm ) disposition-parm can't be an empty string, and thus a ; in terminal position is not legal, even though browsers apparently work around it.
2016-09-22[MERGE] forward port branch saas-12 up to b1b700aChristophe Simonis
2016-09-22[MERGE] forward port branch saas-6 up to 6a67e5cChristophe Simonis
2016-09-22[MERGE] forward port branch 8.0 up to e083d72Christophe Simonis
2016-09-07[FIX] in all python code, rename `openerp` to `odoo`Raphael Collet
2016-08-20[MERGE] forward port branch saas-12 up to 9ad5f26Christophe Simonis
2016-08-19[FIX] web: avoid report with invalid sheet nameMartin Trigaux
This commit does not fix any bug in odoo/odoo but helps fixing #12788 Needed for odoo/enterprise#433
2016-08-03[IMP] web: remove void file, replace openerp tags, add license, clean importsfwi-odoo
2015-09-28[IMP] replace simplejson with stdlib jsonLeonardo Rochael Almeida
The stdlib version of the json library is more recent than the 3.5.3 version we are pinning in `requirements.txt` There is no reason to use it. Closes #6940
2014-12-19[IMP] web: new pivot view, full rewrite of graph viewGéry Debongnie
This commit is a split of the former graphview into a pivot view (the tabular view) and graph view (the various charts). The code was fully rewritten. * pivot view should be faster (better underlying data structure and better algorithm) * better integration with the web client (use of sidebar, of menu buttons, bettor style) * new feature: pivot view can be sorted * new feature: pivot view cells can be clicked to open a list view with the corresponding domain * web_graph addon was removed, and the graph view code has been moved to the addon web. * the interaction with the searchbar was changed (no more column facet) * better and simpler code for graph view * mary corner cases in graph charts have been corrected (for ex, pie chart with positive and negative numbers) * graph/pivot correctly save their state when added to dashboard/saved (state such as current measure, chart mode, column groupbys, ...)