Commit Graph

172 Commits

Author SHA1 Message Date
Xavier Morel bdf7076f23 [FIX] code should use abscissa, not first_field
bzr revid: xmo@openerp.com-20110929083013-85voh4e8062vx8hx
2011-09-29 10:30:13 +02:00
Xavier Morel ccd607aae5 [IMP] cleanup and simplify graph view implementation, update underscore.string
bzr revid: xmo@openerp.com-20110929075550-o58x8sxa165sky1r
2011-09-29 09:55:50 +02:00
Xavier Morel fff01535ba [IMP] avoid reading all fields of the object on big models
bzr revid: xmo@openerp.com-20110929075126-1w9wa3695w3zfr5y
2011-09-29 09:51:26 +02:00
Fabien Meghazi 03156f88ff [IMP] The views do not have to search manually on do_show anymore
bzr revid: fme@openerp.com-20110928154608-mlehfgprg03byksr
2011-09-28 17:46:08 +02:00
niv-openerp e43790f7f2 [imp] refactoring to improve the way the components are destroyed
bzr revid: nicolas.vanhoren@openerp.com-20110928151613-8suxvi1rzn9t40gd
2011-09-28 17:16:13 +02:00
Xavier Morel c18256fe3d [FIX] field names in pie chart builder and link to other views in charts
bzr revid: xmo@openerp.com-20110928145919-z4c7n550399kt8gt
2011-09-28 16:59:19 +02:00
Xavier Morel 784d6789fb [ADD] placeholder info in charts which can not be displayed
bzr revid: xmo@openerp.com-20110928142422-0uogjyg3sa1znaah
2011-09-28 16:24:22 +02:00
Xavier Morel cd39bd968d [FIX] reimplement transformation for stacked bars
In DHTMLX, stacked bars require a very different topology than
clustered, essentially it requires taking clustered data and "rotating
it".

This implement the transformation of the series descriptors
('group_list' sequence which sets up the key, label and color for each
series) and of the series itself (sets up a key for each possible
value of the aggregation field, with each key prefixed by the name of
the ordinate column).

To handle grouped *and clustered* graphs, which dhtmlx does not
natively support, might be able to reimplement this Excel/Numbers
hack:
http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/
by iterating over all this.columns (rather than just the ordinate)
and... not sure actually, creating a record for each of these columns
for each abscissa value, with all other fields set to 0? Maybe?

bzr revid: xmo@openerp.com-20110928135219-edp80g7k6x60s3l8
2011-09-28 15:52:19 +02:00
Xavier Morel aa25be3746 [NOTSURE] Attempt to make graph code significantly more readable, break groupby and pie charts
bzr revid: xmo@openerp.com-20110928124542-5yn683kukq60zwng
2011-09-28 14:45:42 +02:00
Xavier Morel 5a17f5030a [REM] useless fields
bzr revid: xmo@openerp.com-20110926160111-rk032zr2lylk1hlx
2011-09-26 18:01:11 +02:00
Xavier Morel bd3b4c68ea [REM] a bunch of mostly-not-useful code (breaking one axis label, for now)
bzr revid: xmo@openerp.com-20110926151633-afd6y4jz0doy5lmd
2011-09-26 17:16:33 +02:00
Xavier Morel 0a3a7663d1 [IMP] remove custom implementation of fields_view_get in graph view
bzr revid: xmo@openerp.com-20110926140241-4xuobnvpncetk7bx
2011-09-26 16:02:41 +02:00
Khushbu 895c2ab980 [FIX] direct use of element_id
bzr revid: kmo@tinyerp.com-20110923093753-8ghoyq5y24imet7y
2011-09-23 15:07:53 +05:30
Khushbu 9adf06ef6f [FIX] Used views own element id.
bzr revid: kmo@tinyerp.com-20110923085557-t6alqpum8aa5ic4i
2011-09-23 14:25:57 +05:30
kmo f8b7d96e20 [FIX]Remove Overlapping of graph in Dashboard.
lp bug: https://launchpad.net/bugs/854692 fixed

bzr revid: kgo@kgo-desktop-20110921113743-0p19ocxmf26n2jtl
2011-09-21 17:07:43 +05:30
niv-openerp 2836c157d4 [imp] changed init of most views + the places were we init them
bzr revid: nicolas.vanhoren@openerp.com-20110915094944-7l229rjknptr5vcl
2011-09-15 11:49:44 +02:00
niv-openerp eddd4a8827 [imp] added this._super() in all views
bzr revid: nicolas.vanhoren@openerp.com-20110915094246-6v6imml9bf3y4ycj
2011-09-15 11:42:46 +02:00
Fabien Meghazi e0eec18342 [IMP] Removed global QWeb. Now instanciate a QWeb2.Engine for each session: instance.web.qweb
bzr revid: fme@openerp.com-20110907093743-k0224c5qjb74hxvb
2011-09-07 11:37:43 +02:00
niv-openerp 1ad1e8b028 [imp] refactoring of the translations according to rename of base to web
bzr revid: nicolas.vanhoren@openerp.com-20110906100336-2eqs2wboru6aqyop
2011-09-06 12:03:36 +02:00
Antony Lesuisse 29dee8243b renamse base to web part3 renamed xml
bzr revid: al@openerp.com-20110905123743-5vous81ne3qocgkz
2011-09-05 14:37:43 +02:00
Antony Lesuisse d1d7dd6c87 renamse base to web part2
bzr revid: al@openerp.com-20110905122815-m99c0w1lkzxxjh8o
2011-09-05 14:28:15 +02:00
Antony Lesuisse bedfc48dcf rename base into web part1
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00