Merge branch 'develop' of https://github.com/frappe/erpnext into rebrand-ui

This commit is contained in:
Shivam Mishra
2020-07-30 21:29:02 +05:30
180 changed files with 11581 additions and 9014 deletions

View File

@@ -175,6 +175,9 @@ class Task(NestedSet):
self.update_nsm_model()
def after_delete(self):
self.update_project()
def update_status(self):
if self.status not in ('Cancelled', 'Completed') and self.exp_end_date:
from datetime import datetime