mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Update web_dashboard_tile/models/tile_category.py
Co-authored-by: Iván Todorovich <ivan.todorovich@gmail.com>
This commit is contained in:
@@ -45,11 +45,11 @@ class TileCategory(models.Model):
|
||||
'res_model': 'tile.tile',
|
||||
'type': 'ir.actions.act_window',
|
||||
'view_mode': 'kanban',
|
||||
'domain': "["
|
||||
"('hidden', '=', False),"
|
||||
"'|', ('user_id', '=', False), ('user_id', '=', uid),"
|
||||
"('category_id', '=', %d)"
|
||||
"]" % self.id,
|
||||
'domain': """[
|
||||
('hidden', '=', False),
|
||||
'|', ('user_id', '=', False), ('user_id', '=', uid),
|
||||
('category_id', '=', {self.id})
|
||||
]""".format(self=self),
|
||||
}
|
||||
|
||||
def _prepare_menu(self):
|
||||
|
||||
Reference in New Issue
Block a user