mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +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
|
billing_rate = billing_amount / hours
|
||||||
|
|
||||||
target.company = timesheet.company
|
target.company = timesheet.company
|
||||||
|
target.project = timesheet.parent_project
|
||||||
if customer:
|
if customer:
|
||||||
target.customer = customer
|
target.customer = customer
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user