feat: copy project from timesheet to invoice (#35146)
copy project from timesheet to invoice
This commit is contained in:
parent
e12e3bb012
commit
26c5cfabdc
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user