Jiten (OpenERP) has proposed merging
lp:~openerp-dev/openobject-client-web/6.0-bug-744080-jra into
lp:openobject-client-web/6.0.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #744080 in OpenERP Web Client: "don't see any shortcut but they already
extist"
https://bugs.launchpad.net/openobject-client-web/+bug/744080
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-bug-744080-jra/+merge/56131
When create a new db with installed all modules then it does not see in
shortcut bar but they already exist.
--
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-bug-744080-jra/+merge/56131
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-client-web/6.0-bug-744080-jra.
=== modified file 'addons/openerp/controllers/shortcuts.py'
--- addons/openerp/controllers/shortcuts.py 2011-01-17 11:57:11 +0000
+++ addons/openerp/controllers/shortcuts.py 2011-04-04 10:47:27 +0000
@@ -47,6 +47,9 @@
return shortcuts
def list(self):
+ shortcuts = rpc.RPCProxy('ir.ui.view_sc')\
+ .get_sc(rpc.session.uid, 'ir.ui.menu', rpc.session.context) or []
+ cherrypy.session['terp_shortcuts'] = shortcuts
return cherrypy.session.get('terp_shortcuts', [])
def by_res_id(self):
_______________________________________________
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