Launchpad Translations on behalf of openerp
e30348e1e0
Launchpad automatic translations update.
2014-05-14 05:55:34 +00:00
Gery Debongnie
e94c1f03d6
[IMP] optimizes pivot table rendering when expanding rows (addon web_graph)
...
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-09 11:09:35 +02:00
Gery Debongnie
8f55e4519f
[IMP] optimize the pivot table rendering when folding rows (addon web_graph)
...
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 14:40:02 +02:00
Gery Debongnie
1c87d5b6f4
[FIX] render the pivot table correctly (addon web_graph)
...
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 13:27:23 +02:00
Gery Debongnie
b9c217e850
[FIX] add $ to jquery variables (addon web_graph)
...
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
2014-05-08 13:13:11 +02:00
Gery Debongnie
79c197814b
[IMP] improve the way indentation is done in pivot table (addon web_graph)
...
Previously, it was done in a ugly way: added several spans with the class
.graph_indent. Now, it simply sets the margin of the content.
bzr revid: ged@openerp.com-20140508110027-bdjdzlpfptjuf4fa
2014-05-08 13:00:27 +02:00
Launchpad Translations on behalf of openerp
2b67c9c77b
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061338-jwpj0jxfcnakph24
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061359-p8lxp23aopeb6mwh
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506063612-leryt792evbx9hsy
2014-05-06 06:36:12 +00:00
Antony Lesuisse
5e21a4235d
[MERGE] saas-4 up to dle@openerp.com-20140501121915-q88k37nd25ietw8c
...
bzr revid: al@openerp.com-20140501172508-tjennzht30ktw3nz
2014-05-01 19:25:08 +02:00
Fabien Meghazi
acf2123123
[MERGE] Web assets moved from manifests to ir.ui.view bundles
...
bzr revid: fme@openerp.com-20140430151302-e42monb4klz4udw5
2014-04-30 17:13:02 +02:00
Gery Debongnie
a6b25061ba
[MERGE] merge from trunk
...
bzr revid: ged@openerp.com-20140430085942-umusyhp4cs2ffezj
bzr revid: ged@openerp.com-20140430140423-kq0vdboq1mux4zfn
2014-04-30 16:04:23 +02:00
Gery Debongnie
1f693aaed6
[FIX] fix a crash in graphview when user clicked rapidly twice on menu item
...
The issue was that the get_search_fields method tried to get the view's
corresponding searchview after a rpc (fields_get). Sadly, if the user
had meanwhile clicked again on the menu item, the first view would be
detached from the view manager and would be unable to reach the search
view. The solution is to move the lookup for the search view in the start
method, where it is guaranteed to exist.
bzr revid: ged@openerp.com-20140430084927-m11dxqg9ko0dnu08
2014-04-30 10:49:27 +02:00
Gery Debongnie
36e3aac85e
[IMP] large optimizations to the graph view rendering (pivot table)
...
The pivot table rendering was slow with large tables : it appended to the
table each line, so the browser had to rerender each time the page. This
was solved by rendering the table to a document fragment, then only add
the fragment to the main document. This speeds up considerably the process
(from 2600ms to 420ms in one test)
Also, uses basic loops instead of underscore maps in the build_rows method
bzr revid: ged@openerp.com-20140430074733-quhfkzz33rlpahps
2014-04-30 09:47:33 +02:00
Fabien Meghazi
22725bd29f
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140429142729-y4kfuohn4lsklnud
2014-04-29 16:27:29 +02:00
Gery Debongnie
065b3c2176
[IMP] add the expand all button back to the graph view
...
It was removed a long time ago, but it looks like the 'expand all' button
is useful enough to make a comeback.
Also, this commit removes a few useless lines in graph_widget about the
grouped/stacked status of bar charts
bzr revid: ged@openerp.com-20140428090221-po3ksrd73093w3qm
2014-04-28 11:02:21 +02:00
Launchpad Translations on behalf of openerp
2d41c2c7d5
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140426065503-a38xqdyjfr1qvghz
2014-04-26 06:55:03 +00: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
Fabien Meghazi
560ac34295
[IMP] bundlify rest of web addons
...
bzr revid: fme@openerp.com-20140424165735-83jty3iyrslci1q0
2014-04-24 18:57:35 +02:00
Fabien Meghazi
2541ded2c1
[IMP] bundlify web client
...
bzr revid: fme@openerp.com-20140424092520-xx7nocvacx4mcsyw
2014-04-24 11:25:20 +02:00
Gery Debongnie
0241b762b2
[FIX] fix line chart x-axis labels: it now correctly uses the name of the row, and not a number (addon web_graph)
...
bzr revid: ged@openerp.com-20140422150441-3vll2jw69z319yza
2014-04-22 17:04:41 +02:00
Gery Debongnie
394897383f
[FIX] correct the scaling problem of graph bar charts: nvd3 needs a numeric value and was given a [value]. Also, improves the margin of bar/line/pie charts (addon web_graph)
...
bzr revid: ged@openerp.com-20140422150401-p0t9xmittp73j7hx
2014-04-22 17:04:01 +02:00
Gery Debongnie
f584b030bc
[FIX] correct fix for the scrolling problem in graph view: the view now saves its scrolling position before redrawing itself (addon web_graph)
...
bzr revid: ged@openerp.com-20140422150316-m51u750732re8qib
2014-04-22 17:03:16 +02:00
Gery Debongnie
8c001acda0
[FIX] in graph view, save the scrolling position and use it when redrawing the table (addon web_graph)
...
bzr revid: ged@openerp.com-20140422150209-f06ffxry1h46cpfh
2014-04-22 17:02:09 +02:00
Gery Debongnie
c3c56bb2b1
[FIX] disable export to xls button in graph view when there are no data to export, this prevent a crash (addon web)
...
bzr revid: ged@openerp.com-20140422145955-vfls1hxktnq8m67b
2014-04-22 16:59:55 +02:00
Gery Debongnie
00cb732ea0
[FIX] only hide the export button (and not all the config buttons) in graph view when the module xlwt is not installed (addon web)
...
bzr revid: ged@openerp.com-20140422145918-s20n3qla1nfte5dj
2014-04-22 16:59:18 +02:00
Launchpad Translations on behalf of openerp
0a6da3662a
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140418064151-m29eem9b1jfgy39a
2014-04-18 06:41:51 +00: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
8c5a06655d
[MERGE] merge from trunk
...
bzr revid: ged@openerp.com-20140409115954-p49pp91tioc3yw9t
2014-04-09 13:59:54 +02:00
Launchpad Translations on behalf of openerp
a8ab53566c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140409064154-4bbr668s262a11mn
bzr revid: launchpad_translations_on_behalf_of_openerp-20140410055655-a13zzhsch5dj1w5r
2014-04-10 05:56:55 +00: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
53cca3a046
[MERGE] merge from trunk
...
bzr revid: ged@openerp.com-20140407080642-b51z9j9cryb72tpc
bzr revid: ged@openerp.com-20140408090852-xmfi9nwd2lzsfbza
2014-04-08 11:08:52 +02:00
Christophe Simonis
f1d3f2a0c4
[MERGE] forward port of branch saas-3 up to revid 3995 chs@openerp.com-20140407144625-jfimvsx4mgrkztqv
...
bzr revid: chs@openerp.com-20140407161728-ccudwnqo970ac8ay
2014-04-07 18:17:28 +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
Martin Trigaux
28f0649a71
[FIX] skip undefined and keep formating as empty string
...
bzr revid: mat@openerp.com-20140404151739-u61resk70xoih5he
2014-04-04 17:17:39 +02:00
Martin Trigaux
b6c578d54e
[IMP] web_graph: when exporting to xls, export float data as raw instead of string
...
lp bug: https://launchpad.net/bugs/1279803 fixed
bzr revid: mat@openerp.com-20140404085504-t9np8xok33rb0mow
2014-04-04 10:55:04 +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
cf87e07aeb
[MERGE] merge from trunk
...
bzr revid: ged@openerp.com-20140402081047-sh0bjvaabxrtfxmw
2014-04-02 10:10:47 +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
Launchpad Translations on behalf of openerp
00f57e0710
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140401053916-5sh5hkd0k7j4q6pu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140401061016-u413ch6j6f64dd4m
2014-04-01 06:10:16 +00:00
Launchpad Translations on behalf of openerp
25d2a09812
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140324061240-jlo8rbxvlnlt5a3r
2014-03-24 06:12:40 +00:00
Kersten Jeremy
9d65ff69da
[FIX] Hack css for graph view
...
The best way will be to set svg height, but IE9 does not understand height="xxx". So we override the overflow set by bootstrap.css to fix it.
bzr revid: jke@openerp.com-20140318150059-nd6bdd58uvr1s4um
2014-03-18 16:00:59 +01:00
Launchpad Translations on behalf of openerp
948799e259
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140315070651-iyi1g70tarcqvhdc
bzr revid: launchpad_translations_on_behalf_of_openerp-20140315064235-n9sb0125g9bboyb4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140316054224-hr4a70bglfizxqyy
2014-03-16 05:42:24 +00:00
Christophe Simonis
c3827cb8f7
[MERGE] forward port of branch saas-3 up to revid 3967 jke@openerp.com-20140311093515-02xw8phrcqhgz6zx
...
bzr revid: chs@openerp.com-20140311132200-1bln6gaj80njyh18
2014-03-11 14:22:00 +01:00
Launchpad Translations on behalf of openerp
e4488138f7
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140306054333-zzdw1cs2090gpmll
bzr revid: launchpad_translations_on_behalf_of_openerp-20140306055603-35zlf1imt9wk0shw
2014-03-06 05:56:03 +00:00
Gery Debongnie
a37f96d043
[FIX] adds a missing semicolon... :/ (addon web_graph)
...
bzr revid: ged@openerp.com-20140226144032-st0eqbkzco8n2unk
2014-02-26 15:40:32 +01:00
Gery Debongnie
b453252c2d
[IMP] this commit adds two css classes (graph_pivot_mode and graph_chart_mode) to better separate the ui from the code in graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20140226143919-cejqoq2kd4iwrq04
2014-02-26 15:39:19 +01:00
Gery Debongnie
eb1eb48ef3
[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-20140226130424-rtb5iof0c14caf56
2014-02-26 14:04:24 +01:00
Gery Debongnie
e7306f2c4a
[FIX] fixes various problems with the graph view and the filters in the searchbar. Now, it should properly compute and update the groupby/col_groupby in the search bar (addon web_graph)
...
bzr revid: ged@openerp.com-20140226111710-q11qx1tb2l0nryxf
2014-02-26 12:17:10 +01:00