diff --git a/addons/project/models/project.py b/addons/project/models/project.py index 0e32155746c..d208cd8552e 100644 --- a/addons/project/models/project.py +++ b/addons/project/models/project.py @@ -2096,7 +2096,7 @@ class Task(models.Model): action['res_id'] = self.dependent_ids.id else: action['name'] = _('Dependent Tasks') - action['view_mode'] = 'tree,form,kanban,calendar,pivot,graph,gantt,activity,map' + action['view_mode'] = 'tree,form,kanban,calendar,pivot,graph,activity' action['domain'] = [('depend_on_ids', '=', self.id)] return action @@ -2105,7 +2105,7 @@ class Task(models.Model): 'name': 'Tasks in Recurrence', 'type': 'ir.actions.act_window', 'res_model': 'project.task', - 'view_mode': 'tree,form,kanban,calendar,pivot,graph,gantt,activity,map', + 'view_mode': 'tree,form,kanban,calendar,pivot,graph,activity', 'context': {'create': False}, 'domain': [('recurrence_id', 'in', self.recurrence_id.ids)], }