Paramjit Singh Sahota(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1062906-psa into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1062906 in OpenERP Web: "[trunk] All links to records on proccess view 
are broken."
  https://bugs.launchpad.net/openerp-web/+bug/1062906

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1062906-psa/+merge/129634

Hello,

I had fixed the issue of process view where the GREEN button of process view is 
not working, due to which all the linkz to records on process view are broken.
     
Thankz & Regardz,
  -PSA.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1062906-psa/+merge/129634
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1062906-psa.
=== modified file 'process/static/src/js/process.js'
--- process/static/src/js/process.js	2012-10-10 10:12:00 +0000
+++ process/static/src/js/process.js	2012-10-15 09:45:25 +0000
@@ -216,15 +216,14 @@
         var dataset = new instance.web.DataSet(this, 'ir.values', this.session.user_context);
         var action_manager = new instance.web.ActionManager(self);
         dataset.call('get',
-            ['action', 'tree_but_open',[['ir.ui.menu', id]], dataset.context],
-            function(res) {
+            ['action', 'tree_but_open',[['ir.ui.menu', id]], dataset.context]).then(function(res) {
                 var action = res[0][res[0].length - 1];
                 self.rpc("/web/action/load", {
                     action_id: action.id,
                     context: dataset.context
                     }, function(result) {
                         action_manager.replace(self.$el);
-                        action_manager.do_action(result.result);
+                        action_manager.do_action(result);
                     })
             });
     },

_______________________________________________
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