From d7878e51403e07a528c7b733020c7f79702ff0c3 Mon Sep 17 00:00:00 2001 From: Markus Schneider Date: Fri, 30 Jan 2015 12:55:23 +0100 Subject: [PATCH] remove not needed check --- web_dashboard_tile/tile.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/web_dashboard_tile/tile.py b/web_dashboard_tile/tile.py index b64f8bcd..9fa5aa79 100644 --- a/web_dashboard_tile/tile.py +++ b/web_dashboard_tile/tile.py @@ -58,9 +58,6 @@ class tile(orm.Model): tile_id = ids[0] tile_object = self.browse(cr, uid, tile_id, context=context) - if not context: - context = {} - if tile_object.action_id: act_obj = self.pool.get('ir.actions.act_window') result = act_obj.read(cr, uid, [tile_object.action_id.id],