Merge branch 'master' of github.com:webnotes/erpnext into responsive
This commit is contained in:
commit
47530db4d9
@ -58,7 +58,8 @@ class DocType:
|
||||
|
||||
# add events
|
||||
for milestone in self.doclist.get({"parentfield": "project_milestones"}):
|
||||
description = milestone.milestone + " for " + self.doc.name
|
||||
if milestone.milestone_date:
|
||||
description = (milestone.milestone or "Milestone") + " for " + self.doc.name
|
||||
webnotes.bean({
|
||||
"doctype": "Event",
|
||||
"owner": self.doc.owner,
|
||||
|
Loading…
x
Reference in New Issue
Block a user