From 36ba449ef931b78c2287b3700a27beb36ed895ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 26 Jun 2008 11:31:57 +0200 Subject: [PATCH] Don't recall get_preferences --- tryton/gui/main.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tryton/gui/main.py b/tryton/gui/main.py index 0a1e71a7bc..042fa49dcd 100644 --- a/tryton/gui/main.py +++ b/tryton/gui/main.py @@ -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):