Don't recall get_preferences
This commit is contained in:
1 parent
f9727caa4e
commit
36ba449ef9
1 file changed
-7
@@ -865,13 +865,6 @@ class Main(object):
|
||||
if except_id and act_id == except_id:
|
||||
return act_id
|
||||
Action.execute(act_id, {'window': self.window})
|
||||
try:
|
||||
prefs = rpc.execute('object', 'execute',
|
||||
'res.user', 'get_preferences', False, rpc.CONTEXT)
|
||||
if prefs[menu_type]:
|
||||
act_id = prefs[menu_type]
|
||||
except:
|
||||
pass
|
||||
return act_id
|
||||
|
||||
def sig_home_new(self, widget=None, quiet=True, except_id=False):
|
||||
|
||||
Reference in new issue
Block a user