Update project_task.py

This commit is contained in:
zainab2097 2024-10-10 16:33:06 +03:00 committed by GitHub
parent 011cf7e25f
commit 4448a8e70c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -23,7 +23,6 @@ class ProjectTask(models.Model):
domain=[('share', '=', False)]) domain=[('share', '=', False)])
allowed_portal_user_ids = fields.Many2many('res.users', 'project_task_allowed_portal_users_rel', allowed_portal_user_ids = fields.Many2many('res.users', 'project_task_allowed_portal_users_rel',
string="Allowed Portal Users", domain=[('share', '=', True)]) string="Allowed Portal Users", domain=[('share', '=', True)])
isdone = fields.Boolean(string='')
@api.constrains('task_progress', 'weight') @api.constrains('task_progress', 'weight')
def _check_task_weight_progress(self): def _check_task_weight_progress(self):