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
(cherry picked from commit e4bceaaf66)
This commit is contained in:
Kevin Shenk
2023-01-20 10:09:37 -08:00
committed by Mergify
parent 5e517cfc77
commit d0e1162c96

View File

@@ -389,6 +389,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,