Mohammed Shekha(Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/6.1-opw-575087-msh into lp:openerp-web/6.1.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-575087-msh/+merge/107581

Hello,

Fixed the issue of graph view, wehre same field were pushed two times in list 
view, like in graph view code we have created grouping on some field and now 
again from search view we are making grouping on same field so this field were 
added two times in list_field and results in no group records.

Demo :- Project -> Reporting -> Issue Analysis -> Switch view to Graph view -> 
clear all the filters and make the group by on "Assigned To".

Result :- No graph data.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-575087-msh/+merge/107581
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-575087-msh.
=== modified file 'addons/web_graph/static/src/js/graph.js'
--- addons/web_graph/static/src/js/graph.js	2012-02-16 08:42:37 +0000
+++ addons/web_graph/static/src/js/graph.js	2012-05-28 05:03:18 +0000
@@ -67,7 +67,7 @@
     list_fields: function () {
         var fs = [this.abscissa];
         fs.push.apply(fs, _(this.columns).pluck('name'));
-        if (this.group_field) {
+        if (this.group_field && this.group_field != this.abscissa) {
             fs.push(this.group_field);
         }
         return fs;

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to