Update update_project_milestones.py
This commit is contained in:
parent
7c3fad63b1
commit
3de7757ba4
@ -2,6 +2,7 @@ import frappe
|
||||
|
||||
def execute():
|
||||
for project in frappe.db.sql_list("select name from tabProject"):
|
||||
frappe.reload_doc("projects", "doctype", "project")
|
||||
p = frappe.get_doc("Project", project)
|
||||
p.update_milestones_completed()
|
||||
p.db_set("percent_milestones_completed", p.percent_milestones_completed)
|
||||
|
Loading…
x
Reference in New Issue
Block a user