feature/share_module #24

Merged
pranay merged 4 commits from feature/share_module into srivyn_test 2026-07-14 18:33:21 +05:30
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 1335c60b76 - Show all commits

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')