[REM] hr_timesheet: remove unused method from timesheet
This commit remove unused method added by commit: https://github.com/odoo/odoo/commit/2f20b9437a80d71a6184ab83b9c1db3dd04f9cb3 task-2826265 Part-of: odoo/odoo#90744
This commit is contained in:
@@ -50,11 +50,6 @@ class AccountAnalyticLine(models.Model):
|
||||
return [('user_id', '=', self.env.user.id)]
|
||||
return []
|
||||
|
||||
def _domain_task_id(self):
|
||||
if not self.user_has_groups('hr_timesheet.group_hr_timesheet_approver'):
|
||||
return ['|', ('privacy_visibility', '!=', 'followers'), ('message_partner_ids', 'in', [self.env.user.partner_id.id])]
|
||||
return []
|
||||
|
||||
task_id = fields.Many2one(
|
||||
'project.task', 'Task', index='btree_not_null',
|
||||
compute='_compute_task_id', store=True, readonly=False,
|
||||
|
||||
Reference in New Issue
Block a user