feat: Copy project_name, from_time, to_time from timesheet details to sales invoice (#33726)

feat: Copy project_name, from_time, to_time from timesheet details to sales invoice
This commit is contained in:
Kevin Shenk 2023-01-20 10:09:37 -08:00 committed by GitHub
parent b5d2eedfa6
commit e4bceaaf66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -387,6 +387,9 @@ def make_sales_invoice(source_name, item_code=None, customer=None, currency=None
"timesheets",
{
"time_sheet": timesheet.name,
"project_name": time_log.project_name,
"from_time": time_log.from_time,
"to_time": time_log.to_time,
"billing_hours": time_log.billing_hours,
"billing_amount": time_log.billing_amount,
"timesheet_detail": time_log.name,