Vaibhav (OpenERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-bug-919175-vda into lp:openerp-web.

Requested reviews:
  OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
  Bug #919175 in OpenERP Web: "[6.1] Process view don't work"
  https://bugs.launchpad.net/openerp-web/+bug/919175

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-919175-vda/+merge/89522
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-919175-vda/+merge/89522
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-bug-919175-vda.
=== modified file 'addons/web_process/static/src/js/process.js'
--- addons/web_process/static/src/js/process.js	2012-01-13 17:54:05 +0000
+++ addons/web_process/static/src/js/process.js	2012-01-21 08:54:23 +0000
@@ -241,14 +241,13 @@
             dataset.call('get',
                 ['action', 'tree_but_open',[['ir.ui.menu', id]], dataset.context],
                 function(res) {
-                    self.$element.empty();
                     var action = res[0][res[0].length - 1];
                     self.rpc("/web/action/load", {
                         action_id: action.id,
                         context: dataset.context
                         }, function(result) {
                             var action_manager = new openerp.web.ActionManager(self);
-                            action_manager.appendTo(self.widget_parent.$element);
+                            action_manager.replace(self.$element);
                             action_manager.do_action(result.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