mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user