Merge branch 'development' of http://103.74.223.20:8085/prakash.jain/cor-odoo into development

This commit is contained in:
projectsodoo 2021-02-22 10:35:46 +05:30
commit bbbb05930a
1 changed files with 2 additions and 1 deletions

View File

@ -339,5 +339,6 @@ class InheritProjectTask(models.Model):
def action_done_task(self):
stage_id = self.env['project.task.type'].search([('is_closed', '=', True)], limit=1)
for stage in self:
stage.write({'stage_id' : stage_id.id})
stage.write({'stage_id': stage_id.id,
'active': False})