Merge pull request #39236 from frappe/mergify/bp/version-14-hotfix/pr-33726

feat: Copy project_name, from_time, to_time from timesheet details to sales invoice. (backport #33726)
This commit is contained in:
ruthra kumar
2024-01-09 12:43:27 +05:30
committed by GitHub

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,