[ADD] act_url support

bzr revid: xmo@openerp.com-20111019125604-e290rwdpme44wqc8
This commit is contained in:
Xavier Morel 2011-10-19 14:56:04 +02:00
parent 876f1b6806
commit 75c4b66589
1 changed files with 3 additions and 0 deletions

View File

@ -158,6 +158,9 @@ db.web.ActionManager = db.web.Widget.extend({
complete: $.unblockUI
});
});
},
ir_actions_act_url: function (action) {
window.open(action.url, action.target === 'self' ? '_self' : '_blank');
}
});