Commit Graph

627 Commits

Author SHA1 Message Date
Gery Debongnie 19d6d98da8 [IMP] completes the excel export functionality in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140205095808-8lzwv0yqcsjnvff9
2014-02-05 10:58:08 +01:00
Gery Debongnie cfef034321 [IMP] separates the pivot table drawing from the pivot table 'computing' (width, cells, colors,...). This will be useful for the export functionality : the table can be easily serialized in json (addon web_graph)
bzr revid: ged@openerp.com-20140204113135-1igakgqdxewey3aj
2014-02-04 12:31:35 +01:00
Gery Debongnie 6ddbb1f8c6 [IMP] work in progress: adds the export functionality in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140203154704-t2i3uvezupw7kn3n
2014-02-03 16:47:04 +01: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 f27c1df4d2 [IMP] css changes to improve look and usability of pivot table view (addon web_graph)
bzr revid: ged@openerp.com-20140128151113-g8yxl3lphpht4d89
2014-01-28 16:11:13 +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 f38017faec [FIX] fixes a crash happening when the context has a groupby attributes which is an array (addon web_graph)
bzr revid: ged@openerp.com-20140127152324-n1jeyfjvii9dfeoh
2014-01-27 16:23:24 +01:00
Gery Debongnie 3a784da015 [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140124153446-2mouqvp02c009y0x
2014-01-24 16:34:46 +01:00
Gery Debongnie 4620c520a1 [FIX] fixes a typo, causing crashes when selecting date fields in groupbys (addon web_graph)
bzr revid: ged@openerp.com-20140124152821-a9ts9soiwlc2niov
2014-01-24 16:28:21 +01:00
Gery Debongnie 7b4f2df8be [FIX] fixes a crash in line chart mode when the view had more than one measure (addon web_graph)
bzr revid: ged@openerp.com-20140124152536-an2aelpaa43ivzjw
2014-01-24 16:25:36 +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 29d08d9a6b [IMP] graph_view now properly honors the 'interval' attribute of field names in the xml description (addon web_graph)
bzr revid: ged@openerp.com-20140124084222-dq1gpg1tg8rinozx
2014-01-24 09:42:22 +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 b83cfc2c2b [FIX] fixes a crash happening when in dashboards, the graph view was trying to access undefined attributes (addon web_graph)
bzr revid: ged@openerp.com-20140123113450-ec4fubf1urkdutw7
2014-01-23 12:34:50 +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
Launchpad Translations on behalf of openerp 0f2d7e4820 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140122054041-3ebv0zxz43meid0v
2014-01-22 05:40:41 +00: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 86a18410d1 [IMP] keeps the dropdown open when the user selects some measures in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140117152413-ycktqzi51a3lhhz9
2014-01-17 16:24:13 +01:00
Gery Debongnie 9a8d395078 [IMP] display bar chart controls when the size is large enough and when it makes sense (dim x + dim y >= 2) in grap view (addon web_graph)
bzr revid: ged@openerp.com-20140117145056-dby0g4sj7v056gpq
2014-01-17 15:50:56 +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 c374766f9d [IMP] change the icon and tooltip of heat map (column) in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140117093302-1lprauuu4e5k8s5x
2014-01-17 10:33:02 +01:00
Gery Debongnie feff16b03e [FIX] fixes a typo 'widet_config' => 'widget_config' (it previously crashed the graph view) (addon web_graph)
bzr revid: ged@openerp.com-20140117085842-vxaxes0yv3dr7t24
2014-01-17 09:58:42 +01:00
Gery Debongnie 96835a38a3 [IMP] adds 'hidden-print' class to UI buttons in graph views so they are hidder when printed (addon web_graph)
bzr revid: ged@openerp.com-20140117082137-r249r226idp3x51u
2014-01-17 09:21:37 +01:00
Gery Debongnie 66c78675dc [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140116144400-2t13mcnlsnpsez7p
2014-01-16 15:44:00 +01:00
Gery Debongnie 470d42df75 [IMP] adds a 'title' attribute to the toolbar in graph view, to give some tooltips to the user (addon web_graph)
bzr revid: ged@openerp.com-20140116142748-qigjrtb510flex9s
2014-01-16 15:27:48 +01:00
Gery Debongnie 1c1a02d166 [IMP] changes the UI of the graph view: removes old dropdown buttons and adds a toolbar instead (addon web_graph)
bzr revid: ged@openerp.com-20140116140058-rd6nde1mfupgnajt
2014-01-16 15:00:58 +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 74d6e75007 [IMP] supports col groupby in search view in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140115155137-qwy0sr49zhizgmf6
2014-01-15 16:51:37 +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 b681cff77f [IMP] sets nvd3 library in production mode instead of debug mode (addon web_graph)
bzr revid: ged@openerp.com-20140114130141-b41640a72gpshw1x
2014-01-14 14:01:41 +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
Gery Debongnie de85a1cefb [REF] adds comments and reorganize the functions in PivotTable class (addon web_graph)
bzr revid: ged@openerp.com-20140114092724-z534vyceksc4dnr2
2014-01-14 10:27:24 +01:00
Launchpad Translations on behalf of openerp fb7a497ff0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140114055838-31j3saw3pdlwevp1
2014-01-14 05:58:38 +00:00
Gery Debongnie 4d550e963e [FIX] fixes some issues with chart drawing in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140113152316-4i3endkgu10jmxgc
2014-01-13 16:23:16 +01:00
Gery Debongnie e2bb629c3c [IMP] adds support for various intervals when grouping by date in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140113133800-3n1hi5ajpioktr3d
2014-01-13 14:38:00 +01:00
Gery Debongnie 58598420fc [FIX] changes xml definition of the dropdown menu in graph view so that it nows corractly selects the chart mode (addon web_graph)
bzr revid: ged@openerp.com-20140113094858-ykasko5a1i0gpyj3
2014-01-13 10:48:58 +01:00
Gery Debongnie bb1069ace8 [REF] removes some code duplication when creating new headers in pivot class (addon web_graph)
bzr revid: ged@openerp.com-20140110151524-i2usd1nyrfpgkody
2014-01-10 16:15:24 +01:00
Gery Debongnie 2b3b08160c [REF] simplification of the way Pivot configuration is done in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140110140837-tl3ts6za0zr46id7
2014-01-10 15:08:37 +01:00
Gery Debongnie dbf064e817 [REF] removes useless comments (addon web_graph)
bzr revid: ged@openerp.com-20140110120149-pi0h75eqlr2tl9n5
2014-01-10 13:01:49 +01:00
Gery Debongnie f625675079 [REF] large refactoring in graph view: changes the underlying data structure of Pivot class and simplifies a lot of code (addon web_graph)
bzr revid: ged@openerp.com-20140110113557-6bs77dg7qcdofy40
2014-01-10 12:35:57 +01:00
Gery Debongnie 0aa0ea9e6c [REF] merges the dataloader and pivot table classes together, where they truly belong. (addon web_graph)
bzr revid: ged@openerp.com-20140107105954-beb16wspdl6ikemw
2014-01-07 11:59:54 +01:00
Gery Debongnie 6a422f27d7 [FIX] fixes the computation of the color displayed in heatmap modes in graph view. (addon web_graph)
bzr revid: ged@openerp.com-20140106083734-qkrvuhe7398me2d2
2014-01-06 09:37:34 +01:00
Gery Debongnie 47762dfca2 [IMP] allows the selection of multiple measures in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140103144418-7mstnfwah6v6jkkx
2014-01-03 15:44:18 +01:00
Gery Debongnie 64775d4098 [IMP] improves the rendering of heatmap modes when multiple measures are displayed (addon web_graph)
bzr revid: ged@openerp.com-20140103143236-80zmxauy75b0n205
2014-01-03 15:32:36 +01:00
Gery Debongnie 2514343b52 [IMP] adds support for more than one measure in graph view. (addon web_graph)
bzr revid: ged@openerp.com-20140103142215-z19pnxmnla8xugx0
2014-01-03 15:22:15 +01:00
Gery Debongnie 8347c44966 [FIX] fixes a crash when the graph view receives an array of values instead of a single value describing a field (addon web_graph)
bzr revid: ged@openerp.com-20140102100127-7bmviyzujjmlfg02
2014-01-02 11:01:27 +01:00
Gery Debongnie 1dd4f9c77a [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140102085536-s87szntgpklj3cq6
2014-01-02 09:55:36 +01:00
Gery Debongnie 9f6aad4fdd [IMP] yet another css fix to add border to tables in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131231121958-8bsz6d710o5xrgli
2013-12-31 13:19:58 +01:00
Gery Debongnie d63db7b67f [IMP] makes sure that the graph view properly honors default mode request as described in the xml (addon web_graph)
bzr revid: ged@openerp.com-20131231094929-giqkzmean1lralow
2013-12-31 10:49:29 +01:00
Gery Debongnie b9f9857454 [IMP] small css fix to make sure the headers are displayed with the same color (addon web_graph)
bzr revid: ged@openerp.com-20131231094823-cxhxdpebrmrq6jyv
2013-12-31 10:48:23 +01:00
Gery Debongnie 3d5b03af08 [IMP] changes the css of the pivot table to make it look decent (at least, not as awful as before), (addon web_graph)
bzr revid: ged@openerp.com-20131231090257-y0os22omx0pgjaqb
2013-12-31 10:02:57 +01:00
Launchpad Translations on behalf of openerp d963fa888c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231050201-641kcunlgq2qa0ux
2013-12-31 05:02:01 +00:00
Gery Debongnie e69f4d1af6 [FIX] fixes a rendering bug which happened when the rowspan (or colspan) attributes were set to 0. Now, it is always set to a value >= 1 (addon web_graph)
bzr revid: ged@openerp.com-20131227152055-77fvsc27mzs0x5t9
2013-12-27 16:20:55 +01:00
Gery Debongnie fb63eb63ed [IMP] removes the stagger labels in bar charts, only uses the inclined labels when necessary (addon web_graph)
bzr revid: ged@openerp.com-20131227150719-olinm65mh515quc2
2013-12-27 16:07:19 +01:00
Gery Debongnie 650d792413 [IMP] removes the 'group/stack' buttons from the bar chart ui and adds 'group/stack' controls in the option menu of the graph widget. It makes small graphs much cleaner (addon web_graph)
bzr revid: ged@openerp.com-20131227145501-0hf21nieyl8mgomm
2013-12-27 15:55:01 +01:00
Gery Debongnie 66ee322d0f [FIX] fixes a crash happening when the context of some attributes does not have a 'group_by' attribute (in the group fields of the search view)
bzr revid: ged@openerp.com-20131227143508-3g04fn2s5u9vxams
2013-12-27 15:35:08 +01:00
Gery Debongnie 868be53bae [IMP] incline the x-axis text by 15 degree when there are too many bars to display in a bar chart. Also, reduces the number of 'ticks' displayed (addon web_graph)
bzr revid: ged@openerp.com-20131227142814-8ktqqxlthfa5hxe8
2013-12-27 15:28:14 +01:00
Gery Debongnie ed4fdc5108 [REF] simplifies a for loop to make the code simpler (addon web_graph)
bzr revid: ged@openerp.com-20131227102510-dwpjth4fng4ze14e
2013-12-27 11:25:10 +01:00
Gery Debongnie 0650d9d738 [FIX] correctly displays fields of type 'selection' in graph view. Previously, the code only displayed the key and not the value (addon web_graph)
bzr revid: ged@openerp.com-20131227102240-gmgik0p5lujssm3w
2013-12-27 11:22:40 +01:00
Launchpad Translations on behalf of openerp 1e3ebc0285 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220051750-c2x3cf7wrd35we7a
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227052617-sg1lzd37c8fk1pgm
2013-12-27 05:26:17 +00:00
Gery Debongnie e1e676d737 [FIX] correctly calls the parent of the graph view in the constructor (now, the view manager gets the correct view_id) (graph view, addon web_graph)
bzr revid: ged@openerp.com-20131226161457-a4k3iflz61fiaqj4
2013-12-26 17:14:57 +01:00
Gery Debongnie c44786804d [IMP] adds an image when a graph view has no data to display (it uses the same image as an empty dashboard) (addon web_graph)
bzr revid: ged@openerp.com-20131226133735-x2g7veg6d9p77y2d
2013-12-26 14:37:35 +01:00
Gery Debongnie 5a2ddfdf80 [FIX] forces an update when the user switches back to the graph view, to make sure the data displayed are up to date (graph view, addon web_graph)
bzr revid: ged@openerp.com-20131226123449-qjm7hvkhfsdvi7pw
2013-12-26 13:34:49 +01:00
Gery Debongnie d145c7a8c4 [IMP] displays a nice message when the graph view has no data to display (addon web_graph)
bzr revid: ged@openerp.com-20131224153735-on6cx12v7x2r1ln0
2013-12-24 16:37:35 +01:00
Gery Debongnie 69f6efa000 [IMP] hides controls (stacked/grouped) in graph view when they are useless (i.e., when there's only one dimension which can't be stacked/grouped (addon web_graph)
bzr revid: ged@openerp.com-20131224140942-w0dwy3ck6yslbhxy
2013-12-24 15:09:42 +01:00
Gery Debongnie 457090c1a3 [REF] removes some useless variables and some other cleaning to please jshint (addon web_graph)
bzr revid: ged@openerp.com-20131224112224-q1o0hmp1s2ryi9bn
2013-12-24 12:22:24 +01:00
Gery Debongnie db9cdb7eb0 [IMP] makes some small changes to improves backward compatibility in some edge cases (takes the first 'operator' as a measure instead of the last, ...) in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131224100942-jnrdjeb9lg7rx8d2
2013-12-24 11:09:42 +01:00
Gery Debongnie e844ba1040 [FIX] prevents a crash happening in some cases when the searchview does not initialize a groupbygroup instance before the method register_groupby in graph view used it (addon web_graph)
bzr revid: ged@openerp.com-20131220123925-qycdvanm51nkc4uo
2013-12-20 13:39:25 +01:00
Gery Debongnie 828d06f174 [IMP] makes the graph view accept a new way to define graphs (supports type='col', type='row' and type='measure' attributes to fields, also supports 'stacked' attribute in <graph> (addon web_graph)
bzr revid: ged@openerp.com-20131220110243-sccxichm0mgm21uz
2013-12-20 12:02:43 +01:00
Gery Debongnie 2dffdc7c96 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20131219151851-m5av5iz9e3km2s2u
bzr revid: ged@openerp.com-20131220091306-lbsixx9c1robif1m
2013-12-20 10:13:06 +01:00
Gery Debongnie 261b17d7b8 [REF] removes old useless comments (addon web_graph)
bzr revid: ged@openerp.com-20131219134958-tdgcu3ytbsqszczw
2013-12-19 14:49:58 +01:00
Gery Debongnie 1d92fc0353 [FIX] correctly honors the 'bar' setting in graph views descriptions (addon web_graph)
bzr revid: ged@openerp.com-20131219131058-ng9fix57v5hqu8pq
2013-12-19 14:10:58 +01:00
Gery Debongnie 7fc2afc516 [FIX] properly handles the situation where a user selected twice the same field in the search view groupbys (it simply added the field twice to groupbys instead of removing it (addon web_graph)
bzr revid: ged@openerp.com-20131219125422-n2rpzbekyg7e0eyh
2013-12-19 13:54:22 +01:00
Gery Debongnie 5e1aebc4b5 [REF] simplify the format_data method in pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131219111606-u140yaf9y56q1uhg
2013-12-19 12:16:06 +01:00
Gery Debongnie a41835e296 [REF] refactoring in progress... simplify the load_data and format_data methods in pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131219095708-c164shdvv59hyj9l
2013-12-19 10:57:08 +01:00
Gery Debongnie dd71f5e84b [REF] small improvement to simplify two similar methods in pivot.js. goal is to prepare a larger refactoring (addon web_graph)
bzr revid: ged@openerp.com-20131219084722-00p29m61vu51rdbb
2013-12-19 09:47:22 +01:00
Gery Debongnie 007dfea702 [REF] small refactoring, it simplify the make_cells method in pivot.js (addon web_graph)
bzr revid: ged@openerp.com-20131219080339-7aqnuibtfk1y71a3
2013-12-19 09:03:39 +01:00
Gery Debongnie d7fdeec72f [REF] refactors bar_chart method in graph widget. basically, it removes 80 duplicated lines (addon web_graph)
bzr revid: ged@openerp.com-20131218154949-9jno1wb4s549jyl7
2013-12-18 16:49:49 +01:00
Gery Debongnie 1323c2c25b [IMP] adds stacked/grouped setting to chart widget (addon web_graph)
bzr revid: ged@openerp.com-20131218152048-36no38nud6a5ft10
2013-12-18 16:20:48 +01:00
Gery Debongnie 0e8a8517f8 [REF] moves all the charts code from chart.js into the graph widget (in file graph.js) (addon web_graph)
bzr revid: ged@openerp.com-20131218150756-ol0or9m6pg61ye2c
2013-12-18 16:07:56 +01:00
Gery Debongnie 7bb84af05f [REF] large refactoring of graphview: it separates the drawing code into a widget that can be used independently of the view (addon web_graph)
bzr revid: ged@openerp.com-20131218134040-63fcm5a68gsk3hry
2013-12-18 14:40:40 +01:00
Gery Debongnie 79250f0c07 [REF] adds event handling to pivot table class (triggers 'redraw_required' and 'groupby_changed' event when necessary (addon web_graph)
bzr revid: ged@openerp.com-20131217153204-43la1m8eqw632j05
2013-12-17 16:32:04 +01:00
Gery Debongnie 9596340bc5 [REF] removes useless line in addon web_graph
bzr revid: ged@openerp.com-20131217111941-vlzn0ener6zjk737
2013-12-17 12:19:41 +01:00
Gery Debongnie de51e3c35a [REF] moves more code to dataLoader class to simplify pivot class (clean separation between pivot code and loading code) (addon web_graph)
bzr revid: ged@openerp.com-20131217111501-wu0nbid36bncy4wz
2013-12-17 12:15:01 +01:00
Gery Debongnie 65642c8c06 [FIX] adds a 'whitespace:nowrap' line in graph.css to avoid weird display issues with the pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131216152433-xd5muebn30mcsnqh
2013-12-16 16:24:33 +01:00
Gery Debongnie c256cd4f14 [REF] merges update_data and query_all_values method into load_data, to simplify code (addon web_graph)
bzr revid: ged@openerp.com-20131216144935-2ur7pgk7ml2064j0
2013-12-16 15:49:35 +01:00
Gery Debongnie a22648c083 [REF] adds DataLoader class to graph view (addon web_graph)
bzr revid: ged@openerp.com-20131216142757-anqt11ccrwswdify
2013-12-16 15:27:57 +01:00
Gery Debongnie e0ee9a58c5 [IMP] removes the expand/fold menu, because the search view covers the same functionality (addon web_graph)
bzr revid: ged@openerp.com-20131212105533-uawad2hgqopfkygo
2013-12-12 11:55:33 +01:00
Gery Debongnie d27b9ab563 [MERGE] merge trunk
bzr revid: ged@openerp.com-20131212095350-hfn21bwp031nns1m
2013-12-12 10:53:50 +01:00
Gery Debongnie 43627cc63a [FIX] makes sure the web client loads the bootstrap.js file instead of using dropdown.js in web_graph (addon web)
bzr revid: ged@openerp.com-20131212094518-jlau88zb0bxjj966
2013-12-12 10:45:18 +01:00
Gery Debongnie edbc4d8927 [MERGE] latest trunk
bzr revid: ged@openerp.com-20131212085948-ntl7j40yl6815sye
2013-12-12 09:59:48 +01:00
Gery Debongnie f24f38ca88 [FIX] removes a debugger statement (addon web_graph)
bzr revid: ged@openerp.com-20131212083936-5s8xi6ays4xq9jul
2013-12-12 09:39:36 +01:00
Gery Debongnie 7a672064c0 [FIX] improves the handling of headers titles when the db query returns false or undefined (addon web_graph)
bzr revid: ged@openerp.com-20131211162850-mgqs5csnw8wca974
2013-12-11 17:28:50 +01:00
Gery Debongnie 945719fb7d [FIX] correctly computes the height and the width of the graph view (addon web_graph)
bzr revid: ged@openerp.com-20131211160011-fhv7ah63hlnyg7l0
2013-12-11 17:00:11 +01:00
Gery Debongnie 8da86807b6 [FIX] quick fix to make sure charts have a minimal height that is not too small (addon web_graph)
bzr revid: ged@openerp.com-20131211145056-nzpnir06xx3q0n9y
2013-12-11 15:50:56 +01:00
Gery Debongnie b04f21ea12 [IMP] finally uses the full width and height to draw charts, instead of hardcoded numbers (in graph view) (addon web_graph)
bzr revid: ged@openerp.com-20131211140140-shlpos1jt3z8wj41
2013-12-11 15:01:40 +01:00
Gery Debongnie b8a5b2d2b5 [IMP] takes all integer and float field from model as possible measure (addon web_graph)
bzr revid: ged@openerp.com-20131211131148-vdfhmf96fn2txvcj
2013-12-11 14:11:48 +01:00
Gery Debongnie 14d0a6e74c [IMP] makes sure that the values displayed in the pivot table are properly formatted according to their types (addon web_graph)
bzr revid: ged@openerp.com-20131211124307-z9lxbn39spahlxpw
2013-12-11 13:43:07 +01:00
Gery Debongnie 3453d9da01 [REF] improves the charting code by using get_rows_depth and get_columns_depth methods (addon web_graph)
bzr revid: ged@openerp.com-20131211110836-8sq83pcksjm5sboq
2013-12-11 12:08:36 +01:00
Gery Debongnie 4ab8616991 [IMP] makes pie charts smarter when dealing with multiple levels of rows, in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131211103032-6vl1nys24zufuk5w
2013-12-11 11:30:32 +01:00
Gery Debongnie 2cf5049cf1 [IMP] improves the way line chart format the different titles in the legend (addon web_graph)
bzr revid: ged@openerp.com-20131211102246-88y7r63d6wgvz4u5
2013-12-11 11:22:46 +01:00
Gery Debongnie 4416acaa53 [IMP] makes line charts smarter when multiple columns exists, in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131211101224-eul3hvm0dt7kdz41
2013-12-11 11:12:24 +01:00
Launchpad Translations on behalf of openerp 44b7ede640 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211053156-p3v0gn1hf6l8c8h7
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211055224-g9i9shv9qqhb93cz
2013-12-11 05:52:24 +00:00
Gery Debongnie 28f27da638 [IMP] makes the graph view much smarter about the way it displays bar charts depending on the various groupby compbinations (addon web_graph)
bzr revid: ged@openerp.com-20131210153951-d36yymirvo09wbxd
2013-12-10 16:39:51 +01:00
Gery Debongnie 1419b07939 [IMP] improves the way the chart view understands the xml descr of the view, so that nows fields after the operator = + are considered col groupbys (addon web_graph)
bzr revid: ged@openerp.com-20131210111646-9d8l78npv72pqfp8
2013-12-10 12:16:46 +01:00
Gery Debongnie fe5543a043 [IMP] improves the chart code to display correct bar chart when no row groupby are selected and a positive number of col groupbys are selected (graph view, addon web_graph)
bzr revid: ged@openerp.com-20131210100723-0arehl16k54wln0z
2013-12-10 11:07:23 +01:00
Gery Debongnie f24a1b487a [IMP] improves the chart code to display correct bar chart when no groupby are selected (graph view, addon web_graph)
bzr revid: ged@openerp.com-20131210092125-fqv9by5xons81uo1
2013-12-10 10:21:25 +01:00
Gery Debongnie 9f99fbdae7 [FIX] properly writes the col group_by in the context (with the facets) which allows the filter to work correctly, in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131209130858-o8pqocw7otpqr8l0
2013-12-09 14:08:58 +01:00
Gery Debongnie 66c8114768 [REF] removes two useless lines (addon web_graph)
bzr revid: ged@openerp.com-20131206162641-27rerhfa56y6nf4e
2013-12-06 17:26:41 +01:00
Gery Debongnie 65a0a97d67 [IMP] usability fix, makes sure that the dropdown menu displayed when expanding a field in graph view has always the same choices (addon web_graph)
bzr revid: ged@openerp.com-20131206162549-08aw50z4zdelzxgc
2013-12-06 17:25:49 +01:00
Gery Debongnie 476d0f4f38 [FIX] fixes a small bug where the columns would expand all headers when the user clears the rows groupby in the search view (addon web_graph)
bzr revid: ged@openerp.com-20131206162301-fbq5mgqhg65yqi96
2013-12-06 17:23:01 +01:00
Gery Debongnie 5c04caf2ee [REF] many small code cleanups in addon web_graph
bzr revid: ged@openerp.com-20131206160411-9ajcschidssftb49
2013-12-06 17:04:11 +01:00
Gery Debongnie 6a06f0d0ee [IMP] properly supports searchbar integration in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131206154319-6ci7ljmp2hd9q072
2013-12-06 16:43:19 +01:00
Gery Debongnie d1caee2a5f [IMP] supports search bar integration in graph view (but not everything works yet) (addon web_graph)
bzr revid: ged@openerp.com-20131206124437-8m1gnhz3ill6w1eo
2013-12-06 13:44:37 +01:00
Gery Debongnie d3fffbff50 [IMP] beginning of searchbar integration in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131205151945-8yo2vkykztvlru3g
2013-12-05 16:19:45 +01:00
Gery Debongnie 15547d9267 [REF] refactors the event handling code and prepare the way for supporting col_groupby and groupby in the searchbar (addon web_graph)
bzr revid: ged@openerp.com-20131205100710-5owdxv0m971ymwbs
2013-12-05 11:07:10 +01:00
Launchpad Translations on behalf of openerp 9f04e0c76c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131130050422-r8hhiot5r58eukys
bzr revid: launchpad_translations_on_behalf_of_openerp-20131130051429-uepuma01yhw11md9
2013-11-30 05:14:29 +00:00
Gery Debongnie e2d2d51b7a [IMP] supports the attribute 'type' in the xml definition of the graph view, at least for bar_charts (addon web_graph)
bzr revid: ged@openerp.com-20131128145155-b5w4fhw9vrp9txuc
2013-11-28 15:51:55 +01:00
Gery Debongnie 8013a154b8 [FIX] fixes a crash that occurred when a graph view had a starting groupby (given by the search view) (in addon web_graph)
bzr revid: ged@openerp.com-20131128141803-j0ttpgedic84quvy
2013-11-28 15:18:03 +01:00
Gery Debongnie 55bbabaf46 [IMP] changes the set_row_groupby method into set_groupby (more generic, works for rows and cols) (addon web_graph)
bzr revid: ged@openerp.com-20131128134904-ubkxdowr29is2o86
2013-11-28 14:49:04 +01:00
Gery Debongnie 2a3eb6c336 [REF] removes duplicated code in update/expand methods (addon web_graph)
bzr revid: ged@openerp.com-20131128133854-28k6utrer7cdsz4z
2013-11-28 14:38:54 +01:00
Gery Debongnie d41ca29475 [IMP] adds some rudimentary support to the integration of search bar groupby into the graph view (addon web_graph)
bzr revid: ged@openerp.com-20131128130146-33i0ydw9gbjqgc0v
2013-11-28 14:01:46 +01:00
Gery Debongnie 2ff2fc4c9e [REF] removes a few useless lines (addon web_graph)
bzr revid: ged@openerp.com-20131128123830-vaqaeoizit8x8jq9
2013-11-28 13:38:30 +01:00
Gery Debongnie 7b2109dcae [REF] removes a few useless lines in view_loading method (addon web_graph)
bzr revid: ged@openerp.com-20131128105402-eb3pqksd5v9ixaxn
2013-11-28 11:54:02 +01:00
Gery Debongnie 6afd98516c [REF] removes a few useless lines in view_loading method (addon web_graph)
bzr revid: ged@openerp.com-20131128104929-4ou50xebjub3bijh
2013-11-28 11:49:29 +01:00
Gery Debongnie 0af9f5f053 [IMP] add a small highlighting when hovering over a line in pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131128103317-k60u8e22z9yus38h
2013-11-28 11:33:17 +01:00
Gery Debongnie e0920173a3 [REF] improves the initialization process of pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131128101625-7ig5lftk8wv8w6tj
2013-11-28 11:16:25 +01:00
Gery Debongnie 4aa70638ef [REF] adds a 'get_total' method and simplify a few parts of the code using totals (addon web_graph)
bzr revid: ged@openerp.com-20131128094746-mthch89zqx66flq7
2013-11-28 10:47:46 +01:00
Gery Debongnie d790f8e96f [REF] removes duplicated code in update_values method in pivot class (addon web_graph)
bzr revid: ged@openerp.com-20131128091715-g1f29k60a0pvy8sd
2013-11-28 10:17:15 +01:00
Gery Debongnie be00aca052 [REF] removes all references to measure label in pivot table (addon web_graph)
bzr revid: ged@openerp.com-20131128084551-19hc23fmw3gvtoc9
2013-11-28 09:45:51 +01:00
Gery Debongnie 51e4b240f8 [IMP] adds support for multiple measures in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131128082754-4l7nx8ooye1pmc53
2013-11-28 09:27:54 +01:00
Gery Debongnie 0d47d906fd [REF] removes reference to rows in expand header method (pivot class) in addon web_graph
bzr revid: ged@openerp.com-20131127151451-t361x3ufdcbtc54f
2013-11-27 16:14:51 +01:00
Gery Debongnie f5514c70ab [IMP] adds support for row_heatmap and col_heatmap mode to table view (addon web_graph)
bzr revid: ged@openerp.com-20131127150628-lval018q5gc1d5ok
2013-11-27 16:06:28 +01:00
Gery Debongnie c17791dd82 [FIX] corrects stupid bug with previous commit, where empty cells were colored in heatmap mode (addon web_graph)
bzr revid: ged@openerp.com-20131127144706-w7amtjnnku214yih
2013-11-27 15:47:06 +01:00
Gery Debongnie 574253bb63 [REF] improves the draw_row method which will allow to support row_heat_map and col_heatmap in table view (addon web_graph)
bzr revid: ged@openerp.com-20131127144505-fq1bb3xv97a2ek38
2013-11-27 15:45:05 +01:00
Gery Debongnie 6e88cce3fb [FIX] display message insteal of crashing when there are no records to display (addon web_graph)
bzr revid: ged@openerp.com-20131127140701-9gej0qik7l4nzgni
2013-11-27 15:07:01 +01:00
Gery Debongnie abc0bb3d87 [REF] code cleanup (using jshint). mainly removing trailing whitespace and adding a few semicolons (addon web_graph)
bzr revid: ged@openerp.com-20131127133632-s8xvycu9660xj2pn
2013-11-27 14:36:32 +01:00
Gery Debongnie cef7c35476 [REF] removes useless initialization code in pivot class (addon web_graph)
bzr revid: ged@openerp.com-20131127132044-rdttrslfh6t5agkw
2013-11-27 14:20:44 +01:00
Gery Debongnie 0c7e530c9c [REF] simplify the start() method in pivot table by using the expand_all() method instead of manually loading data (addon web_graph)
bzr revid: ged@openerp.com-20131127131046-hz33nqrjae1hwldf
2013-11-27 14:10:46 +01:00
Gery Debongnie 761ff10226 [FIX] properly closes the dropdown menu (field selection when expanding row/col) when the user clicks somewhere else (addon web_graph)
bzr revid: ged@openerp.com-20131127130406-slj3rvp02y3utevm
2013-11-27 14:04:06 +01:00