+
diff --git a/addons/sale_timesheet/models/project.py b/addons/sale_timesheet/models/project.py
index eb5375f28b1..922fc8e024a 100644
--- a/addons/sale_timesheet/models/project.py
+++ b/addons/sale_timesheet/models/project.py
@@ -38,7 +38,7 @@ class Project(models.Model):
help="Employee/Sale Order Item Mapping:\n Defines to which sales order item an employee's timesheet entry will be linked."
"By extension, it defines the rate at which an employee's time on the project is billed.")
billable_percentage = fields.Integer(
- compute='_compute_billable_percentage',
+ compute='_compute_billable_percentage', groups='hr_timesheet.group_hr_timesheet_approver',
help="% of timesheets that are billable compared to the total number of timesheets linked to the AA of the project, rounded to the unit.")
display_create_order = fields.Boolean(compute='_compute_display_create_order')
timesheet_product_id = fields.Many2one(
@@ -51,7 +51,7 @@ class Project(models.Model):
help='Select a Service product with which you would like to bill your time spent on tasks.',
compute="_compute_timesheet_product_id", store=True, readonly=False,
default=_default_timesheet_product_id)
- warning_employee_rate = fields.Boolean(compute='_compute_warning_employee_rate')
+ warning_employee_rate = fields.Boolean(compute='_compute_warning_employee_rate', compute_sudo=True)
partner_id = fields.Many2one(
compute='_compute_partner_id', store=True, readonly=False)
allocated_hours = fields.Float(compute='_compute_allocated_hours', store=True, readonly=False, copy=False)