Merge branch 'hotfix-task-status' of github.com:scmmishra/erpnext into hotfix-task-status

This commit is contained in:
scmmishra 2019-03-27 15:02:35 +05:30
commit 2405e14dde

View File

@ -104,7 +104,7 @@ def create_task(subject, start=None, end=None, depends_on=None, project=None, sa
task.subject = subject
task.exp_start_date = start or nowdate()
task.exp_end_date = end or nowdate()
# task.project = project or "_Test Project"
task.project = project or "_Test Project"
if save:
task.save()
else:
@ -117,4 +117,4 @@ def create_task(subject, start=None, end=None, depends_on=None, project=None, sa
if save:
task.save()
return task
return task