summaryrefslogtreecommitdiff
path: root/addons/web_graph
AgeCommit message (Collapse)Author
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, ...)
2014-12-02[MERGE] forward port of branch 8.0 up to 591e329Christophe Simonis
2014-11-27[FIX] web_graph: pass context to fields_get for translationDenis Ledoux
In graph views, fields from the pivot table were not translated in the user language We pass the context, containing the user language, to fields_get in order to get the translation This is also done by the search view, in search.js line 1978 at this rev. opw-616713
2014-11-19[I18N] Update translations from Launchpad 8.0 branchesOlivier Dony
2014-11-05[MERGE] forward port of branch 8.0 up to 491372eChristophe Simonis
2014-10-31[FIX] updates the graph view documentationGéry Debongnie
It was wrong.
2014-10-29[MERGE] forward port of branch 8.0 up to 92c7874Christophe Simonis
2014-10-29[FIX] add tooltip to some buttons (graph view)Géry Debongnie
2014-10-27[FIX] Error in excel export when sheet name > 31 charactersAlexis de Lattre
XLWT only accepts sheet names smaller than 31 characters because that's the excel limit. Fixes #2548 Fixes #3318
2014-10-23[MERGE] forward port of branch 8.0 up to ed92589Christophe Simonis
2014-10-23[MERGE] forward port of branch saas-3 up to c89d1a0Christophe Simonis
2014-10-21[IMP] web_graph: renamed Quantity field into Count to avoid ambiguitiesDavid Monjoie
2014-10-21[IMP] various code improvementsGéry Debongnie
mostly styling, and related micro-changes
2014-10-21[FIX] various small UI tweaksGéry Debongnie
2014-10-21[IMP] some cleanups in graph/kanban viewsGéry Debongnie
notable: disable the group by integration in graph view, because of crash (the search view was rewritten and too much search logic was in the graph view. This is a temporary measure, the graph view will be split into pivot/graph views, and the search integration will be done correctly in the near future.
2014-10-21[IMP] graph view integration into view manager headerGéry Debongnie
2014-10-21[FIX] fixes many issues with the various viewsGéry Debongnie
the views don't always return a proper promise, or were somewhat fragile and broke with the changes in the view manager.
2014-10-08[I18N] Update translations from Launchpad 8.0 branchesOlivier Dony
2014-09-26[MERGE] forward port of branch saas-3 up to fe8106fChristophe Simonis
2014-09-26[FIX] fix context problem in graph viewGéry Debongnie
The group_by query expects the context to have group_by_no_leaf = true, so we can not just blindly forward the context to the groupby query. This is a defensive way to fix the problem, to avoid other possible crashes. But the context shouldn't have group_by_no_leaf anyway, it does not make sense to explicitely do that in the action
2014-09-23[I18N] Update translation templates with latest term changesOlivier Dony
2014-09-23[I18N] Update translations from Launchpad 8.0 branchesOlivier Dony
server: rev. 26 rev-id launchpad_translations_on_behalf_of_openerp-20140923072744-tkfs0yinu8msjh09 addons: rev. 39 rev-id launchpad_translations_on_behalf_of_openerp-20140923072715-5j7qvnuvmmb1zzy1 web: rev. 23 rev-id launchpad_translations_on_behalf_of_openerp-20140923072757-jvh9l6r2x0vfcyhb
2014-09-22[FIX] correctly forward context in graph viewGéry Debongnie
the new graph view silently ignored the context when doing its rpc read_group. Usually, it's not really a problem, which is why it is only now being fixed, but some models actually use the context in read_group. (for ex, account_entries_report)
2014-09-18[I18N] Update translations from Launchpad branchesOlivier Dony
2014-09-16[FIX] display problem in graph view in some casesGéry Debongnie
Recently, the graph view was changed to prevent changing groupbys for active custom filters. Unfortunately, I did not take into account the fact that pivot table can be drawn in part when expanding rows. The "frozen" parameter was then undefined and caused display problems, this patch should fix the issue.
2014-09-15[FIX] web: fixes issues with custom filters and search viewGéry Debongnie
The problem was that when the user manipulates the graph view (in pivot table mode), the graph view resetted the group by facet in the search view. It was not a problem unless a custom filter with a groupby was already there, in which case, the group bys were duplicated. The search view is now smarter, it only resets the additional groupbys (and col_groupbys). Also, to prevent usability problems, the graph view disable the '+/-' groupbys added by a custom filters. Note that this fix is only temporary: a revamp of custom filters, facets, search view is coming in the next months. (at least, that's the idea). Right now, too much 'search logic' is in the graph view. Another note: this fix is somewhat fragile: it makes some assumptions about the search query (mainly that the custom filter is the first facet, also, that no other filters add groupbys/col_groupbys)
2014-09-11[FIX] web_graph: pivot_table, use _.isEmpty to check if value_lookup is FalseDenis Ledoux
2014-09-08[I18N] Update 8.0 translations with latest changes from LaunchpadOlivier Dony
2014-08-22[ADD] doc: new documentation, with training tutorials, and new scaffoldingRaphael Collet
2014-08-22[FIX] css fix in graph viewGéry Debongnie
The field selection menu was not positioned correctly when there was a long list. (was not displayed at the position clicked)
2014-08-21[IMP] Graph views: show always measure + filters record measures in contextqdc
2014-08-14[I18N] Update 8.0 translation with latest source codeOlivier Dony
2014-08-13[MERGE] Forward-port of saas-5 up to 20cc18dOlivier Dony
2014-08-13[MERGE] Forward-port saas-4 up to 2694ed1Olivier Dony
2014-08-13[FIX] web_graph : display the corresponding label for selection fields in ↵Christophe Simonis
graph view
2014-08-11[MERGE] forward port of branch saas-5 up to 0739bc4Denis Ledoux
2014-08-08[MERGE] forward port of branch saas-4 up to 0a1e4a0Denis Ledoux
2014-08-07[FIX] web_graph : display the correct label for Selection fields in view graphJérome Maes
2014-07-30[FIX] addon web: prefix css dropdown-submenuGéry Debongnie
to prevent possible future conflicts
2014-07-30[IMP] improve graph view layout and groupbysGéry Debongnie
* add a 'total' foldable button to allow the user to control the column in pivot table view * in the dropdown menu, add all fields from the model instead of only those from the search view groupbys
2014-06-13[FIX] removes non stored fields from measuresGéry Debongnie
Non stored functional fields cannot be grouped by read_group, so it is useless, and even harmful, to display them in the measure list (in graph view).
2014-06-11Merge remote-tracking branch 'odoo/master' into master-inline-searchview-gedGéry Debongnie
2014-06-10[IMP] add documentation for the graph viewGéry Debongnie
Also, removes an old TODO.txt that was completely outdated.
2014-05-30[FIX] correctly compute mouse click coordsGéry Debongnie
in graph view, when the user click on the pivot table. It was calculated with pageX, pageY and positioned with 'absolute'. However, the main view is now also positionod, so the dropdown menu was not where it should be.
2014-05-20[FIX] fix the graphview field selectionGéry Debongnie
searchview has been split in two parts, and the inputs are now located in the drawer
2014-05-14Launchpad automatic translations update.Launchpad Translations on behalf of openerp
2014-05-09[IMP] optimizes pivot table rendering when expanding rows (addon web_graph)Gery Debongnie
This patch makes the graph widget only add the rows that were new instead of redrawing the full table when expanding bzr revid: ged@openerp.com-20140509090935-sje3u6i4x1luswwn
2014-05-08[IMP] optimize the pivot table rendering when folding rows (addon web_graph)Gery Debongnie
don't redraw the full table when folding rows. instead, it removes from the dom the corresponding rows. This should give a big speed boost when folding rows on big tables. bzr revid: ged@openerp.com-20140508124002-yaa383rq4c0qhrf8
2014-05-08[FIX] render the pivot table correctly (addon web_graph)Gery Debongnie
The code was bugged: it added a <tbody> tag around each rows instead of adding the rows to a single tbody. bzr revid: ged@openerp.com-20140508112723-b6ffkmufwux1z0a7
2014-05-08[FIX] add $ to jquery variables (addon web_graph)Gery Debongnie
the rendering code of the pivot table didn't use $ in jquery variables, this commit fixes that issue and slightly simplify their names. bzr revid: ged@openerp.com-20140508111311-kargzvzlttutwt47