From 75a44b788f03adab1a8ab8aed4414d88e6197478 Mon Sep 17 00:00:00 2001 From: Carolina Fernandez Date: Wed, 3 Jul 2024 19:05:05 +0200 Subject: [PATCH] [FIX] helpdesk_mgmt_timesheet: Remove field access restriction Prevents users from being able to browse the records without Helpdesk User group Groups already defined on views --- helpdesk_mgmt_timesheet/models/hr_timesheet.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/helpdesk_mgmt_timesheet/models/hr_timesheet.py b/helpdesk_mgmt_timesheet/models/hr_timesheet.py index aec7fa4803..4d4d614dd5 100644 --- a/helpdesk_mgmt_timesheet/models/hr_timesheet.py +++ b/helpdesk_mgmt_timesheet/models/hr_timesheet.py @@ -11,7 +11,6 @@ class AccountAnalyticLine(models.Model): comodel_name="helpdesk.ticket", string="Ticket", domain=[("project_id", "!=", False)], - groups="helpdesk_mgmt.group_helpdesk_user", ) ticket_partner_id = fields.Many2one( comodel_name="res.partner", @@ -19,7 +18,6 @@ class AccountAnalyticLine(models.Model): string="Ticket partner", store=True, compute_sudo=True, - groups="helpdesk_mgmt.group_helpdesk_user", ) @api.onchange("ticket_id")