Commit Graph

592 Commits

Author SHA1 Message Date
Kunal Chavda (OpenERP) 65483c91a6 [IMP]Improved code by removing duplicate code.
bzr revid: kch@tinyerp.com-20111208070002-oyk17wy006fyds3c
2011-12-08 12:30:02 +05:30
Fabien Meghazi a464639221 [IMP] Improved debugging infos in sidebar and for debug View#xxx button
bzr revid: fme@openerp.com-20111207145514-s0yisb191841utp6
2011-12-07 15:55:14 +01:00
Kunal Chavda (OpenERP) 16bf0d2a0d [ADD]Implement new linechart and areachart.
bzr revid: kch@tinyerp.com-20111207133055-ghaagmkgjsmy3i8a
2011-12-07 19:00:55 +05:30
Fabien Meghazi e719ba764a [FIX] Fixed view_manager double do_search triggering
[REM] Removed autosearch
[REM] Removed last search caching

bzr revid: fme@openerp.com-20111206113658-ntnl14ezdnqqhe3m
2011-12-06 12:36:58 +01:00
Xavier Morel 41e8b3f92c [FIX] correctly send context during graph's fields_get
lp bug: https://launchpad.net/bugs/898636 fixed

bzr revid: xmo@openerp.com-20111206113141-nbfxp0jx4lrgo95g
2011-12-06 12:31:41 +01:00
Xavier Morel ab2d749dd6 [EXT] extract POT files
bzr revid: xmo@openerp.com-20111205105101-ondavioyfv87xldl
2011-12-05 11:51:01 +01:00
Naresh (OpenERP) b193fc9108 [IMP]:added temporary description in web addons modules to avoid server warnings log the official description is yet to be decided by web team
bzr revid: nch@tinyerp.com-20111125053225-cbckxm2gfuoaph06
2011-11-25 11:02:25 +05:30
Kunal Chavda (OpenERP) 36d2447058 [FIX]Fixed code for showing stackbar chart. dhtmlxchart not support forward or backward slash in key to get value from result.
lp bug: https://launchpad.net/bugs/889731 fixed

bzr revid: kch@tinyerp.com-20111122045639-2y6b5el3a2bjthis
2011-11-22 10:26:39 +05:30
Fabien Meghazi db2c85635b [IMP] Upgraded unserscore version from 1.1.7 to 1.2.2 and underscore.string from 1.1.6 to 1.2.0
WARNING: underscore string does not mixin to underscore by default. Use _.str.*

bzr revid: fme@openerp.com-20111115123059-k31lhp0db2d8h22k
2011-11-15 13:30:59 +01:00
Xavier Morel a21a208e4c [FIX] graph tooltips remaining on screen after clicking them
bzr revid: xmo@openerp.com-20111110135052-u6r2uw5o5pqdgzpm
2011-11-10 14:50:52 +01:00
Christophe Simonis 6e735ccbbe merge upstream
bzr revid: chs@openerp.com-20111103111333-93bu8xdgs30ry5ig
bzr revid: chs@openerp.com-20111108154541-dsz5sjnf7xwihg06
2011-11-08 16:45:41 +01:00
Christophe Simonis ae0bf044ef [IMP] qweb templates are stored in addon manifest and given by the server
bzr revid: chs@openerp.com-20111102111105-ibyupno1e47sv9ho
2011-11-02 12:11:05 +01:00
Xavier Morel 04b619f7bb [FIX] incorrect rendering of hidden graphs
dhtmlx is apparently entirely unable to render invisible graphs
(hidden via display:none on itself or a parent, visibility: hidden
does not trouble it), it apparently uses the actual size of the graph
container in its rendering and display:none elements have no
dimensions.

A graph in an o2m in a secondary tab gets rendered in display:none
environment yielding a completely broken and unusable graph.

Worked around this by deferring the graph's rendering until
visibility: the actual graph rendering is stored in a function which
is periodically deferred (via setTimeout) until we know the graph view
is visible (meaning its root element isn't invisible
anymore). Ideally, we'd use a library which is not broken instead...

The check periodicity is currently set to 100ms, seems sufficiently
reactive for our purposes.

lp bug: https://launchpad.net/bugs/880789 fixed

bzr revid: xmo@openerp.com-20111028122608-6hyi7lqpr3jh9rw3
2011-10-28 14:26:08 +02:00
niv-openerp e2e01eed83 [imp] mado o2m compatible with graph view
bzr revid: nicolas.vanhoren@openerp.com-20111007162156-10r2h2zws40oabnp
2011-10-07 18:21:56 +02:00
niv-openerp 9b7f1c5811 [imp] improved graph view to support o2m (not finished)
bzr revid: nicolas.vanhoren@openerp.com-20111007152116-r4ad6z4u035pjxgq
2011-10-07 17:21:16 +02:00
Olivier Dony b2b70870e5 [I18N] update PO templates for all addons after enabling LP translation sync
bzr revid: odo@openerp.com-20111007083949-0mz4q7fwtmyps8nu
2011-10-07 10:39:49 +02:00
Antony Lesuisse 77a3624fa1 [IMP] set module category to Hidden
bzr revid: al@openerp.com-20111005143607-7p5z3gn4ddt3pios
2011-10-05 16:36:07 +02:00
Fabien Meghazi 3e1b007478 [IMP] Viewmanager sets dataset's domain & context on_search
bzr revid: fme@openerp.com-20111003135203-d3p18cfdh5jko976
2011-10-03 15:52:03 +02:00
Fabien Meghazi f2cd835296 [IMP] Fixed gantt in order to support new do_search
bzr revid: fme@openerp.com-20110929114815-4nql5xzwztb77vdm
2011-09-29 13:48:15 +02:00
Fabien Meghazi 03585c43c5 [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20110929113120-30k2cdyyxw7tpfot
2011-09-29 13:31:20 +02:00
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