project milestone patch fix

This commit is contained in:
Nabin Hait
2015-02-24 13:05:34 +05:30
parent 20256fa716
commit b923f8a78b

View File

@@ -5,6 +5,7 @@ def execute():
frappe.reload_doctype("Project")
for m in frappe.get_all("Project Milestone", "*"):
if m.milestone and m.milestone_date:
frappe.get_doc({
"doctype": "Task",
"subject": m.milestone,