Antony Lesuisse (OpenERP) has proposed merging
lp:~openerp-dev/openerp-web/trunk-edi-chs into lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-edi-chs/+merge/88799
for edi action after import
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-edi-chs/+merge/88799
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-edi-chs.
=== modified file 'addons/web/static/src/js/views.js'
--- addons/web/static/src/js/views.js 2012-01-13 17:55:29 +0000
+++ addons/web/static/src/js/views.js 2012-01-17 01:33:29 +0000
@@ -80,6 +80,16 @@
};
action_loaded = this.do_action(action);
}
+ else if (state.sa) {
+ // load session action
+ var self = this;
+ this.null_action();
+ action_loaded = this.rpc('/web/session/get_session_action', {key: state.sa}).pipe(function(action) {
+ if (action) {
+ return self.do_action(action);
+ }
+ });
+ }
else if (state.client_action) {
this.null_action();
this.ir_actions_client(state.client_action);
_______________________________________________
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