Commit Graph

56 Commits

Author SHA1 Message Date
niv-openerp eab7adeacf [imp] remaining of refactoring for 'openerp'
bzr revid: nicolas.vanhoren@openerp.com-20120417124830-6vy3nsjch3w94rt2
2012-04-17 14:48:30 +02:00
niv-openerp 298ef40999 [imp] modified kanban to be used in a o2m
bzr revid: nicolas.vanhoren@openerp.com-20120405161404-0czrls5qe9bk0hhf
2012-04-05 18:14:04 +02:00
niv-openerp 9834565c65 [imp] refactoring to allow easy usage of embedded view in any view
bzr revid: nicolas.vanhoren@openerp.com-20120405160315-vn2gawdesxuy53b3
2012-04-05 18:03:15 +02:00
niv-openerp 75d39c7f6a [imp] renammed stop()
bzr revid: nicolas.vanhoren@openerp.com-20120221162912-zheko30qoh84hcoq
2012-02-21 17:29:12 +01:00
niv-openerp 8384876ef0 [imp] renamed widget_parent to getParent()
bzr revid: nicolas.vanhoren@openerp.com-20120221153023-cqs66neaddtuf7km
2012-02-21 16:30:23 +01:00
Kunal Chavda (OpenERP) d51511d93c [FIX]Fixed code for key issue in graph.
bzr revid: kch@tinyerp.com-20120216084237-egxidkgqbhjruks4
2012-02-16 14:12:37 +05:30
Xavier Morel 8ad5f239f5 [FIX] unscrew labels in graphs
bzr revid: xmo@openerp.com-20120215112424-meswcv2u60b0lxdi
2012-02-15 12:24:24 +01:00
Xavier Morel 99f01e1df2 [MERGE] graph issues fixes
bzr revid: xmo@openerp.com-20120215092422-0emfdu4cx3opuxxk
2012-02-15 10:24:22 +01:00
Vaibhav (OpenERP) 7ef0c1e17d [FIX] Undefined container element for Pie chart, error while string operation on boolean value.
bzr revid: vda@tinyerp.com-20120215063746-7j0n14lms083hh79
2012-02-15 12:07:46 +05:30
Vidhin Mehta (OpenERP) c76a60098b [IMP]fix graph issue when no data.
lp bug: https://launchpad.net/bugs/928123 fixed

bzr revid: vme@tinyerp.com-20120210134858-kq1oxpsikpuc8kxn
2012-02-10 19:18:58 +05:30
Vidhin Mehta (OpenERP) 7b171c0eac [IMP]graph x axis item.
bzr revid: vme@tinyerp.com-20120201090221-44sxb9m418nhukly
2012-02-01 14:32:21 +05:30
Xavier Morel b9a290a38b [FIX] avoid losing all available views when switching from graph to list via clicking on graph item
bzr revid: xmo@openerp.com-20120117164337-tuh1tkjra0drvg7r
2012-01-17 17:43:37 +01:00
Xavier Morel 3217a9292f [FIX] value used by graph based on selection fields when opening lists
bzr revid: xmo@openerp.com-20120116121727-1x30vp9ffs7qotpr
2012-01-16 13:17:27 +01:00
Fabien Meghazi e9ca86dd63 [IMP] More dataset refactoring
bzr revid: fme@openerp.com-20120110165451-pvchn668y0b1p645
2012-01-10 17:54:51 +01:00
Vidhin Mehta (OpenERP) f810344035 [FIX]check value and selection field.
lp bug: https://launchpad.net/bugs/910821 fixed

bzr revid: vme@tinyerp.com-20120105085729-xcl43wdalml8v8f7
2012-01-05 14:27:29 +05:30
Christophe Simonis 8eb5a7c75a [FIX] each view type do_push_state at least once
bzr revid: chs@openerp.com-20120103160650-su6zcrepd8fqpbai
2012-01-03 17:06:50 +01:00
Kunal Chavda (OpenERP) 7d0bc5e163 [FIX]Fixed code for showing pie chart.
lp bug: https://launchpad.net/bugs/906783 fixed

bzr revid: kch@tinyerp.com-20111220094204-4qihd3jnxyeggkl4
2011-12-20 15:12:04 +05:30
Xavier Morel a8286263ff [ADD] lazy translation function, to correctly translate strings in contexts evaluated before the translation db has been loaded
bzr revid: xmo@openerp.com-20111216130000-56qd717d79529opy
2011-12-16 14:00:00 +01:00
Xavier Morel 265d9e1ef4 [ADD] translatable name to views
lp bug: https://launchpad.net/bugs/904989 fixed

bzr revid: xmo@openerp.com-20111216112054-xys9q3ap6dcatppr
2011-12-16 12:20:54 +01:00
Antony Lesuisse d1ddc1ee78 [IMP] factorise View.do_show do_hide
bzr revid: al@openerp.com-20111214171811-c4bka4nwylp3wn21
2011-12-14 18:18:11 +01:00
Xavier Morel 032ba8b1b7 [ADD] line and area chart types support
bzr revid: xmo@openerp.com-20111214135930-1u461pi2ym2y9nij
2011-12-14 14:59:30 +01:00
Kunal Chavda (OpenERP) 165f43d2ce [IMP]Improved code for use different properties when different chart type.
bzr revid: kch@tinyerp.com-20111209110521-srj00rg522kjho0f
2011-12-09 16:35:21 +05:30
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
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
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 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
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