diff --git a/addons/hr_timesheet/report/project_report.py b/addons/hr_timesheet/report/project_report.py
index 85a5e43351d..367a0a59436 100644
--- a/addons/hr_timesheet/report/project_report.py
+++ b/addons/hr_timesheet/report/project_report.py
@@ -14,15 +14,14 @@ class ReportProjectTaskUser(models.Model):
def _select(self):
return super(ReportProjectTaskUser, self)._select() + """,
- progress as progress,
+ (t.effective_hours * 100) / NULLIF(planned_hours, 0) as progress,
t.effective_hours as hours_effective,
t.planned_hours - t.effective_hours - t.subtask_effective_hours as remaining_hours,
- planned_hours as hours_planned"""
+ NULLIF(planned_hours, 0) as hours_planned"""
def _group_by(self):
return super(ReportProjectTaskUser, self)._group_by() + """,
remaining_hours,
t.effective_hours,
- progress,
planned_hours
"""
diff --git a/addons/hr_timesheet/views/project_views.xml b/addons/hr_timesheet/views/project_views.xml
index 58ec4745345..d4896b7c0e7 100644
--- a/addons/hr_timesheet/views/project_views.xml
+++ b/addons/hr_timesheet/views/project_views.xml
@@ -246,9 +246,6 @@
Timesheets
-
- record.analytic_account_id.raw_value and !record.allow_timesheets.raw_value
-
diff --git a/addons/project/models/project.py b/addons/project/models/project.py
index 05807fd78b1..9cb0c47efcf 100644
--- a/addons/project/models/project.py
+++ b/addons/project/models/project.py
@@ -450,13 +450,6 @@ class Project(models.Model):
action['display_name'] = self.name
return action
- def action_view_account_analytic_line(self):
- """ return the action to see all the analytic lines of the project's analytic account """
- action = self.env["ir.actions.actions"]._for_xml_id("analytic.account_analytic_line_action")
- action['context'] = {'default_account_id': self.analytic_account_id.id}
- action['domain'] = [('account_id', '=', self.analytic_account_id.id)]
- return action
-
def action_view_all_rating(self):
""" return the action to see all the rating of the project and activate default filters"""
action = self.env['ir.actions.act_window']._for_xml_id('project.rating_rating_action_view_project_rating')
diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml
index b0124f4c1bd..53cd3d72dd2 100644
--- a/addons/project/views/project_views.xml
+++ b/addons/project/views/project_views.xml
@@ -232,13 +232,11 @@