feat: copy project from timesheet to invoice (#35146)

copy project from timesheet to invoice
This commit is contained in:
Kevin Shenk
2023-05-13 23:19:28 -04:00
committed by GitHub
parent e12e3bb012
commit 26c5cfabdc

View File

@@ -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