mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
remove not needed check
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user