mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 00:55:02 +00:00
feat: copy project from timesheet to invoice (#35146)
copy project from timesheet to invoice
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user