project lead changes and multi company dependencies

This commit is contained in:
pranaysaidurga 2026-07-14 15:22:48 +05:30
parent a003e4d566
commit 1335c60b76
1 changed files with 1 additions and 1 deletions

View File

@ -1127,7 +1127,7 @@ class ProjectProject(models.Model):
members are users who can have an access to
the tasks related to this project."""
)
user_id = fields.Many2one('res.users', string='Project Manager', default=False, tracking=True, required = True,
user_id = fields.Many2one('res.users', string='Project Manager', default=False, tracking=True,
domain=lambda self: [('id','in',self.env.ref('project_task_timesheet_extended.role_project_manager').user_ids.ids),('groups_id', 'in', [self.env.ref('project.group_project_manager').id,self.env.ref('project_task_timesheet_extended.group_project_supervisor').id]),('share','=',False)],)
# @api.constrains('user_id')