diff --git a/addons/project/views/project_update_templates.xml b/addons/project/views/project_update_templates.xml index 5e1cac3d331..36056ce4b00 100644 --- a/addons/project/views/project_update_templates.xml +++ b/addons/project/views/project_update_templates.xml @@ -19,8 +19,7 @@

Activities

-
- +

Milestones

@@ -67,7 +66,6 @@ -
diff --git a/addons/sale_timesheet/models/project_update.py b/addons/sale_timesheet/models/project_update.py index 4c3ba0d24be..5ab1ca81325 100644 --- a/addons/sale_timesheet/models/project_update.py +++ b/addons/sale_timesheet/models/project_update.py @@ -62,8 +62,7 @@ class ProjectUpdate(models.Model): @api.model def _get_profitability_values(self, project): costs_revenues = project.analytic_account_id and project.allow_billable - timesheets = project.allow_timesheets and self.user_has_groups('hr_timesheet.group_hr_timesheet_user') - if not (self.user_has_groups('project.group_project_manager') and (costs_revenues or timesheets)): + if not (self.user_has_groups('project.group_project_manager') and costs_revenues): return {} profitability = project._get_profitability_common() return {