From 26c5cfabdc71d706265c2a44432bb7a28986db49 Mon Sep 17 00:00:00 2001 From: Kevin Shenk Date: Sat, 13 May 2023 23:19:28 -0400 Subject: [PATCH] feat: copy project from timesheet to invoice (#35146) copy project from timesheet to invoice --- erpnext/projects/doctype/timesheet/timesheet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/projects/doctype/timesheet/timesheet.py b/erpnext/projects/doctype/timesheet/timesheet.py index d482a46053..11156f4b50 100644 --- a/erpnext/projects/doctype/timesheet/timesheet.py +++ b/erpnext/projects/doctype/timesheet/timesheet.py @@ -374,6 +374,7 @@ def make_sales_invoice(source_name, item_code=None, customer=None, currency=None billing_rate = billing_amount / hours target.company = timesheet.company + target.project = timesheet.parent_project if customer: target.customer = customer