Mohammed Shekha(Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/6.1-opw-579054ContextNotPassed-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-579054ContextNotPassed-msh/+merge/124870

Hello,

Fixed the issue of context not passed on graph item click.

Open any graph view on which there is context passed in action, now click on 
graph bar(i.e. graph items) will not pass the context, so if there is group by 
in context still graph item click will open only list view not list view with 
groups.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-579054ContextNotPassed-msh/+merge/124870
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-579054ContextNotPassed-msh.
=== modified file 'addons/web_graph/static/src/js/graph.js'
--- addons/web_graph/static/src/js/graph.js	2012-08-31 10:32:55 +0000
+++ addons/web_graph/static/src/js/graph.js	2012-09-18 09:46:23 +0000
@@ -420,6 +420,7 @@
         this.do_action({
             res_model : this.dataset.model,
             domain: [[this.abscissa, '=', id], ['id','in',this.dataset.ids]],
+            context: this.dataset.context,
             views: views,
             type: "ir.actions.act_window",
             flags: {default_view: 'list'}

_______________________________________________
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