Merge pull request #15078 from rohitwaghchaure/task_email_alert_not_working_from_project

Fix] Task's email alert on status change not working if we change the task status from the project form
This commit is contained in:
Ameya Shenoy 2018-08-06 12:33:07 +05:30 committed by GitHub
commit 26bfede116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ class Project(Document):
"modified": now()
})
task.validate()
task.run_method("validate")
task.db_update()
else:
task.save(ignore_permissions = True)