fix: assignments reflect after removing on sidebar
This commit is contained in:
parent
124a218bbf
commit
becedb64a3
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ def close_all_assignments(doctype, name):
|
|||
|
||||
@frappe.whitelist()
|
||||
def remove(doctype, name, assign_to):
|
||||
set_status(doctype, name, assign_to, status="Cancelled")
|
||||
return set_status(doctype, name, assign_to, status="Cancelled")
|
||||
|
||||
def set_status(doctype, name, assign_to, status="Cancelled"):
|
||||
"""remove from todo"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue