fix: Typo in update_status
This commit is contained in:
parent
a2e801e840
commit
26e5c753db
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user