[FIX] return back in breadcrumb
bzr revid: api@openerp.com-20130531094936-a27pmhrh4iqb2jre
This commit is contained in:
parent
ae4ed0be36
commit
2abd4d2222
|
@ -23,7 +23,7 @@ openerp.purchase_requisition = function(instance) {
|
|||
generate_purchase_order: function () {
|
||||
var self = this;
|
||||
new instance.web.Model(self.dataset.model).call("generate_po",[self.dataset.context.active_id,self.dataset.context]).then(function(result) {
|
||||
self.do_action(result);
|
||||
self.ViewManager.ActionManager.history_back();
|
||||
});
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue