Browse Source

remove not needed check

pull/54/head
Markus Schneider 10 years ago
parent
commit
d7878e5140
  1. 3
      web_dashboard_tile/tile.py

3
web_dashboard_tile/tile.py

@ -58,9 +58,6 @@ class tile(orm.Model):
tile_id = ids[0] tile_id = ids[0]
tile_object = self.browse(cr, uid, tile_id, context=context) tile_object = self.browse(cr, uid, tile_id, context=context)
if not context:
context = {}
if tile_object.action_id: if tile_object.action_id:
act_obj = self.pool.get('ir.actions.act_window') act_obj = self.pool.get('ir.actions.act_window')
result = act_obj.read(cr, uid, [tile_object.action_id.id], result = act_obj.read(cr, uid, [tile_object.action_id.id],

Loading…
Cancel
Save