Skip to content

Commit

Permalink
feat: Copy project_name, from_time, to_time from timesheet details to…
Browse files Browse the repository at this point in the history
… sales invoice (#33726)

feat: Copy project_name, from_time, to_time from timesheet details to sales invoice
(cherry picked from commit e4bceaa)
  • Loading branch information
batonac authored and mergify[bot] committed Jan 9, 2024
1 parent 5e517cf commit d0e1162
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions erpnext/projects/doctype/timesheet/timesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d0e1162

Please sign in to comment.