From 26e5c753dbd22a81a14c75c3785f26ef7aabe0a8 Mon Sep 17 00:00:00 2001 From: scmmishra Date: Mon, 25 Mar 2019 11:35:28 +0530 Subject: [PATCH] fix: Typo in update_status --- erpnext/projects/doctype/task/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/projects/doctype/task/task.py b/erpnext/projects/doctype/task/task.py index 55896847fa..4a5c91699f 100755 --- a/erpnext/projects/doctype/task/task.py +++ b/erpnext/projects/doctype/task/task.py @@ -169,7 +169,7 @@ class Task(NestedSet): if self.status not in ('Cancelled', 'Completed') and self.exp_end_date: from datetime import datetime if self.exp_end_date < datetime.now().date(): - self.date = 'Overdue' + self.status = 'Overdue' self.save() @frappe.whitelist()