fix: set parent_project when creating a new timesheet (#35607)
fix "When Creating a new Timesheet from an Task - parent_project is empty" #35578
This commit is contained in:
parent
b91bb17779
commit
65b2e1fc33
@ -304,6 +304,7 @@ def set_tasks_as_overdue():
|
||||
@frappe.whitelist()
|
||||
def make_timesheet(source_name, target_doc=None, ignore_permissions=False):
|
||||
def set_missing_values(source, target):
|
||||
target.parent_project = source.project
|
||||
target.append(
|
||||
"time_logs",
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user