Skip to content

Commit

Permalink
[FIX] helpdesk_mgmt_timesheet: Remove field access restriction
Browse files Browse the repository at this point in the history
Prevents users from being able to browse the records without Helpdesk User group
Groups already defined on views
  • Loading branch information
carolinafernandez-tecnativa authored and fkantelberg committed Nov 13, 2024
1 parent c86425a commit 75a44b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions helpdesk_mgmt_timesheet/models/hr_timesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ 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",
related="ticket_id.partner_id",
string="Ticket partner",
store=True,
compute_sudo=True,
groups="helpdesk_mgmt.group_helpdesk_user",
)

@api.onchange("ticket_id")
Expand Down

0 comments on commit 75a44b7

Please sign in to comment.