Commit Graph

657 Commits

Author SHA1 Message Date
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
Launchpad Translations on behalf of openerp a900c2f44d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140226063458-06tloufxtz1og92z
2014-02-26 06:34:58 +00:00
Gery Debongnie 47340431f9 [FIX] fixes the tooltip position in chart mode (graph view). The position was wrong because the parent position was not 'relative'. (addon web_graph)
bzr revid: ged@openerp.com-20140225141623-cawr7yur38zhjcz4
2014-02-25 15:16:23 +01:00
Gery Debongnie fed81544ad [IMP] optimizes graph view to avoid reloading data in some cases (such as removing a filter from the search view) (addon web_graph)
bzr revid: ged@openerp.com-20140225104233-zidrw03dh2hlwrng
2014-02-25 11:42:33 +01:00
Gery Debongnie 02b70e2950 [FIX] fixes problems due to the preceding merge (resolved conflict was not properly resolved) (addon web_graph)
bzr revid: ged@openerp.com-20140225103155-9cdbs8p79sa7hkwi
2014-02-25 11:31:55 +01:00
Gery Debongnie 893b7041f9 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140225091310-pzkj5ip17esl52kz
2014-02-25 10:13:10 +01:00
Gery Debongnie 956b73998c [FIX] fixes various problems with the search bar integration with the graph view. Now, the code correctly computes the group_bys and col_groupbys contained in the various filters in the search bar (addon web_graph)
bzr revid: ged@openerp.com-20140225090349-z6udsjn0cjafu0lt
2014-02-25 10:03:49 +01:00
Launchpad Translations on behalf of openerp eaa20f9586 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225060535-e6jwphbnlp4q2vc6
2014-02-25 06:05:35 +00:00
Christophe Simonis 49f26ffbc8 [MERGE] forward port of branch saas-2 up to revid 3950 dle@openerp.com-20140220141302-3paib80ixiyi66qg
bzr revid: chs@openerp.com-20140220161753-ec6l9ser1pbnmzgk
2014-02-20 17:17:53 +01:00
Launchpad Translations on behalf of openerp 3eceef7802 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140213054839-bknb7wozzfcl2b5p
bzr revid: launchpad_translations_on_behalf_of_openerp-20140213061121-vm9ot1x4ve6ekaoe
2014-02-13 06:11:21 +00:00
Gery Debongnie 321a4a7402 [FIX] make sure the graph view takes the col_group_by from the search view and not from the context.
It was taken from the context, and had the unfortunate side effect that the user could not ungroup by removing the facet from the search view. (addon web_graph)

bzr revid: ged@openerp.com-20140210153221-olkv8xee02r9voer
2014-02-10 16:32:21 +01:00
Gery Debongnie 9eda870d2b [FIX] fixes a bug caused by two consecutive calls to do_search, with incomplete informations in the first call. These calls then triggered useless queries and caused an incorrect (but brief) display of partial information in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140210112313-z9elwhmjil41jcd2
2014-02-10 12:23:13 +01:00
Gery Debongnie f4bbf7b5d4 [FIX] fixes an issue in graph view (addon web_graph)
when the user clicked several times on a field name to expand it, the dropdown menu was displayed several times, overlapping, instead of being reset to the last click location

bzr revid: ged@openerp.com-20140210091716-of9w9xhjnpmaa5td
2014-02-10 10:17:16 +01:00
Gery Debongnie 817b9bdb7f [IMP] removes the 'expand all' buttons, it was confusing and not really useful (addon web_graph)
bzr revid: ged@openerp.com-20140207142223-pc31xwv7kckt99a0
2014-02-07 15:22:23 +01:00
Gery Debongnie 88b7511f68 [FIX] correctly use the col group by instead of groupby when reading the context and initializing a graph view (addon web_graph)
bzr revid: ged@openerp.com-20140207135339-ohrjh6uvu22tjavh
2014-02-07 14:53:39 +01:00
Gery Debongnie d0961eb09e [FIX] many small tweaks, add some comment, rename variables to have better more informative names in excel export functionality in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140205131406-kdw5ht9u8gct9xbo
2014-02-05 14:14:06 +01:00
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