diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-07-31 16:41:29 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-07-31 16:41:29 +0200 |
| commit | 245b009a0bbffc49a8d06f4ad12a93b4302827e4 (patch) | |
| tree | 825e842304c5610f7129b901c9e4d1dffb509a41 | |
| parent | 46869ba52dede1779e41c8deb6efc50cde938f36 (diff) | |
[FIX] avoid error message in the web client when we go on the Apps menu, replace it with a warning message explaining that the apps is not working currently
bzr revid: nicolas.vanhoren@openerp.com-20130731144129-x9po16ihtbp4rj8m
| -rw-r--r-- | openerp/addons/base/static/src/js/apps.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/openerp/addons/base/static/src/js/apps.js b/openerp/addons/base/static/src/js/apps.js index eaaca6b13c3..f877e9258b1 100644 --- a/openerp/addons/base/static/src/js/apps.js +++ b/openerp/addons/base/static/src/js/apps.js @@ -92,7 +92,8 @@ openerp.base = function(instance) { start: function() { var self = this; - return self.get_client(). + // desactivated for now because apps does not work anyway due to changes in the framework + /*return self.get_client(). done(function(client) { client.replace(self.$el). done(function() { @@ -100,13 +101,13 @@ openerp.base = function(instance) { client.do_action(self.remote_action_id, {hide_breadcrumb: true}); }); }). - fail(function(client) { + fail(function(client) {*/ self.do_warn(_t('OpenERP Apps Unreachable'), _t('Showing locally available modules'), true); self.rpc('/web/action/load', {action_id: self.failback_action_id}).done(function(action) { self.do_action(action); instance.webclient.menu.open_action(action.id); }); - }); + //}); }, }); |
