mirror of https://github.com/OCA/web.git
FIX: Non-db action dictionaries should provide either multiple view modes or a single view mode and an optional view id.
parent
6fad2c3f1f
commit
a5cd01e6ec
|
@ -138,7 +138,7 @@ class TileTile(models.Model):
|
||||||
}
|
}
|
||||||
if self.action_id:
|
if self.action_id:
|
||||||
res.update(self.action_id.read(
|
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
|
# FIXME: restore original Domain + Filter would be better
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue