fix: check open status projects for project status update
This commit is contained in:
parent
7a2163ca39
commit
a4645b6d17
@ -459,7 +459,7 @@ def get_projects_for_collect_progress(frequency, fields):
|
|||||||
fields.extend(["name"])
|
fields.extend(["name"])
|
||||||
|
|
||||||
return frappe.get_all("Project", fields = fields,
|
return frappe.get_all("Project", fields = fields,
|
||||||
filters = {'collect_progress': 1, 'frequency': frequency})
|
filters = {'collect_progress': 1, 'frequency': frequency, 'status': 'Open'})
|
||||||
|
|
||||||
def send_project_update_email_to_users(project):
|
def send_project_update_email_to_users(project):
|
||||||
doc = frappe.get_doc('Project', project)
|
doc = frappe.get_doc('Project', project)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user