mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
[Fix] Not able to save project (#14848)
This commit is contained in:
committed by
Nabin Hait
parent
8179bcbabd
commit
720b06495c
@@ -298,7 +298,7 @@ class Project(Document):
|
|||||||
dt_name = frappe.db.get_value('Task', {"subject": dt, "project": self.name })
|
dt_name = frappe.db.get_value('Task', {"subject": dt, "project": self.name })
|
||||||
task_doc.append('depends_on', {"task": dt_name})
|
task_doc.append('depends_on', {"task": dt_name})
|
||||||
|
|
||||||
task_doc.update_db()
|
task_doc.db_update()
|
||||||
|
|
||||||
def get_timeline_data(doctype, name):
|
def get_timeline_data(doctype, name):
|
||||||
'''Return timeline for attendance'''
|
'''Return timeline for attendance'''
|
||||||
|
|||||||
Reference in New Issue
Block a user