[ADD] act_url support
bzr revid: xmo@openerp.com-20111019125604-e290rwdpme44wqc8
This commit is contained in:
parent
876f1b6806
commit
75c4b66589
|
@ -158,6 +158,9 @@ db.web.ActionManager = db.web.Widget.extend({
|
||||||
complete: $.unblockUI
|
complete: $.unblockUI
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
ir_actions_act_url: function (action) {
|
||||||
|
window.open(action.url, action.target === 'self' ? '_self' : '_blank');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue