FIX: Non-db action dictionaries should provide either multiple view modes or a single view mode and an optional view id.

This commit is contained in:
Iván Todorovich
2016-08-12 11:50:15 -03:00
parent 6fad2c3f1f
commit a5cd01e6ec

View File

@@ -138,7 +138,7 @@ class TileTile(models.Model):
}
if self.action_id:
res.update(self.action_id.read(
['view_type', 'view_mode', 'view_id', 'type'])[0])
['view_type', 'view_mode', 'type'])[0])
# FIXME: restore original Domain + Filter would be better
return res