Christophe Simonis
562272d9a0
[MERGE] forward port of branch saas-3 up to c89d1a0
2014-10-23 13:08:44 +02:00
David Monjoie
d2147fc92b
[IMP] web_graph: renamed Quantity field into Count to avoid ambiguities
2014-10-21 14:57:52 +02:00
Christophe Simonis
e2e60bf4eb
[MERGE] forward port of branch saas-3 up to fe8106f
2014-09-26 12:53:59 +02:00
Géry Debongnie
4c031b95d0
[FIX] correctly forward context in graph view
...
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-22 11:18:41 +02:00
Denis Ledoux
3911468d72
[FIX] web_graph: pivot_table, use _.isEmpty to check if value_lookup is False
2014-09-11 17:00:45 +02:00
qdc
8307a5f6ed
[IMP] Graph views: show always measure + filters record measures in context
2014-08-21 11:09:49 +02:00
Christophe Simonis
ff0ab6426a
[FIX] web_graph : display the corresponding label for selection fields in graph view
2014-08-13 11:12:20 +02:00
Jérome Maes
007a2f2a24
[FIX] web_graph : display the correct label for Selection fields in view graph
2014-08-07 16:00:19 +02:00
Gery Debongnie
a32d8cb9de
[FIX] (partially) fixes a concurrence problem in graph view
...
The graph view is asynchronous when updating data. It is not safe when
the user tries to update quickly the group bys (for example, when adding two
group bys in quick succession).
This patch partially fixes the problem: it makes sure that two concurrent updates
will be correctly serialized. However, it is not a complete fix: the crash can still happen
when three or more updates are quickly done. A complete solution require some more work in
keeping tracks of an update queue and serializing properly the updates. (will be done in trunk)
bzr revid: ged@openerp.com-20140425102501-qe7ve1ug8neq1twv
2014-04-25 12:25:01 +02:00
Gery Debongnie
f966931b87
[IMP] performance improvement: write a custom isEqual function to use instead of _.isEqual to make the code faster in graph view (isEqual was determined guilty of being slow by profiling on a large view) (addon web_graph)
...
bzr revid: ged@openerp.com-20140409145735-m21t2fzmaepr1hsa
2014-04-09 16:57:35 +02:00
Gery Debongnie
281c19a751
[FIX] correctly determines when there is no data to read in graph view (instead of the good old crash) (addon web_graph)
...
bzr revid: ged@openerp.com-20140409123628-erw8dpb2l36l7hu6
2014-04-09 14:36:28 +02:00
Gery Debongnie
1330bb615e
[IMP] massive optimization of the graph view code: more efficient access to values and smarter code to avoid reading uselessly many cells (graph view in web_graph)
...
bzr revid: ged@openerp.com-20140409093920-xqls2o6j6tocgf6l
2014-04-09 11:39:20 +02:00
Gery Debongnie
4d79722227
[FIX] add missing semicolons, add a missing 'var' statement and remove trailing whitespace (addon web_graph)
...
bzr revid: ged@openerp.com-20140404143009-6uk7607bv4acbg4b
2014-04-04 16:30:09 +02:00
Gery Debongnie
0d4732b5c4
[FIX] makes sure the internal data structure of pivot table is correct after update_data (the children were not correct when the tree of headers was not full, after an expand for example (addon web_graph)
...
bzr revid: ged@openerp.com-20140403094050-vjeq4dks86mejuub
2014-04-03 11:40:50 +02:00
Gery Debongnie
729cd2ce02
[FIX] correct the expand functionality to avoid creating rows/cols in the other dimension of an unfolding action (addon web_graph)
...
bzr revid: ged@openerp.com-20140402150817-5s8drvhbznxq0hh9
2014-04-02 17:08:17 +02:00
Gery Debongnie
c138b778df
[FIX] correctly filters out empty groups in read_group results in the data loading code of graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20140402114758-8qfdz8j76t2p2juo
2014-04-02 13:47:58 +02:00
Gery Debongnie
c4d0299eca
[IMP] complete rewrite of the data loading code in the graph view, using the lazy/eager feature of readgroup. The code is simpler and more efficient: it only performs a fixed number of requests (well, the number is 'fixed' in the sense that it does not depend of the size of the data being displayed, but it still depends on the number of dimensions) (addon web_graph)
...
bzr revid: ged@openerp.com-20140402074341-8cleqizqculxmkys
2014-04-02 09:43:41 +02:00
Gery Debongnie
882fde48f0
[IMP] work in progress: adds the export functionality in graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20140203113332-fvr9cra2dhj4h0ju
2014-02-03 12:33:32 +01:00
Gery Debongnie
9344f2f851
[FIX] changes the hardcoded string 'undefined' into 'Undefined' in pivot table (addon web_graph)
...
bzr revid: ged@openerp.com-20140128151157-3opcfcockwrgr3kx
2014-01-28 16:11:57 +01:00
Gery Debongnie
ad76309fbe
[IMP] makes the graph view in pivot table mode always display 'Total' instead of the current measure/title (addon web_graph)
...
bzr revid: ged@openerp.com-20140128132625-pk21iuhuffvx6814
2014-01-28 14:26:25 +01:00
Gery Debongnie
31374c2eef
[IMP] this commit translates the hardcoded strings that appears in graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20140128111022-ghoxwvlmywzr2yke
2014-01-28 12:10:22 +01:00
Gery Debongnie
c43147628b
[REF] lots of small tweaks to improve the code, and some small fixes, after xmo's code review (addon web_graph)
...
bzr revid: ged@openerp.com-20140124151635-14l3dchnrmujo5ni
2014-01-24 16:16:35 +01:00
Gery Debongnie
524324ae4e
[FIX] fixes two small issues concerning the groupby dates in graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20140124125944-wxl4zdya37pxdnqv
2014-01-24 13:59:44 +01:00
Gery Debongnie
59b75a0176
[FIX] fixes a problem with fields selection : the string was not correctly displayed (addon web_graph)
...
bzr revid: ged@openerp.com-20140123142318-kbk6f2rsug3uxi0j
2014-01-23 15:23:18 +01:00
Gery Debongnie
39e0f4736f
[REF] refactoring: removes the 'interval' attributes in groupbys and improves searchbar integration (addon web_graph)
...
bzr revid: ged@openerp.com-20140122160707-39el7frwfj4pwd4d
2014-01-22 17:07:07 +01:00
Gery Debongnie
a3bb723379
[IMP] changes the backend code of graph view to use the new functionality of read_group (use 'field_name:interval' in readgroup instead of context (addon web_graph)
...
bzr revid: ged@openerp.com-20140122133452-wy3hrsrokhnwc3ru
2014-01-22 14:34:52 +01:00
Gery Debongnie
d1e3504b80
[IMP] two small tweaks to improve the code quality in addon web_graph
...
bzr revid: ged@openerp.com-20140122075652-wz2uk3tv31ady4ej
2014-01-22 08:56:52 +01:00
Gery Debongnie
2cafcfbde7
[REF] large refactoring in graph view: changes the flow of the program to make it much simpler (addon web_graph)
...
bzr revid: ged@openerp.com-20140121143034-rid4saax5y63g7i1
2014-01-21 15:30:34 +01:00
Gery Debongnie
f404bf8b40
[IMP] optimizes pivot table so that it doesn't reload data when the groupbys have been changed in such a way that it should only fold some headers (addon web_graph)
...
bzr revid: ged@openerp.com-20140120093254-mta9v6hjmsgfpr2n
2014-01-20 10:32:54 +01:00
Gery Debongnie
ba9999c28a
[FIX] fix crash happening when user goes to graph view, switch to other view, changes groupby and goes back to graph view. (addon web_graph)
...
bzr revid: ged@openerp.com-20140117161940-3ojz17luxtsb9qfa
2014-01-17 17:19:40 +01:00
Gery Debongnie
5aade330c2
[FIX] fixes a typo (nodata => no_data), which prevents a crash in graph_view, addon web_graph)
...
bzr revid: ged@openerp.com-20140117153330-9vc6bzljmso9zu71
2014-01-17 16:33:30 +01:00
Gery Debongnie
c547467442
[IMP] adds checkmarks next to measures when they are used in graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20140117144303-tqj7cn5xd1c0xvhm
2014-01-17 15:43:03 +01:00
Gery Debongnie
6839fcaddd
[IMP] makes sure that the graph view does not reload data if the user removes a measure. Also, display the 'no data' screen if there are no current measure in graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20140117102339-99kka9v6wfsgesdn
2014-01-17 11:23:39 +01:00
Gery Debongnie
588e541387
[FIX] fixes some issues with the col_group_bys in searchbar (main problem was that do_search is called twice when the user swap axis) (addon web_graph)
...
bzr revid: ged@openerp.com-20140116095549-3f2hbyzj32nuj147
2014-01-16 10:55:49 +01:00
Gery Debongnie
4343ca278a
[FIX] correctly compares groupby in pivot_table to avoid bugs/crashes (now, it ignores the 'interval' attributes) so the table can interact with the graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20140115105104-qff3t47lo1lyp5wd
2014-01-15 11:51:04 +01:00
Gery Debongnie
cf81efda43
[IMP] adds search view integration in graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20140115093749-t2s0306fchm2tnir
2014-01-15 10:37:49 +01:00
Gery Debongnie
11de0f36ed
[REF] separates graph view and graph widget into two files, and renames pivot into pivot_table.js (addon web_graph)
...
bzr revid: ged@openerp.com-20140114125142-9qj3mvu0a1fp4sis
2014-01-14 13:51:42 +01:00