-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add total_billing_hours
to Sales Invoice
#26783
feat: add total_billing_hours
to Sales Invoice
#26783
Conversation
@barredterra Can you fix the conflict and sider issues? I don't have edit access to this branch. Or you can give Edit Access to maintainers. |
The backport to
|
Hi @nabinhait, @ruchamahabal mentioned some remaining issues that need to be addressed. Did you fix them yourself? |
Yes |
* feat: add `total_billing_hours` to Sales Invoice * fix: re-save doctypes * fix: indentation * fix: replace reference to old function
…rappe#27742) * feat: add `total_billing_hours` to Sales Invoice * fix: re-save doctypes * fix: indentation * fix: replace reference to old function (cherry picked from commit 09ccdee) # Conflicts: # erpnext/accounts/doctype/sales_invoice/sales_invoice.js # erpnext/accounts/doctype/sales_invoice_timesheet/sales_invoice_timesheet.json # erpnext/projects/doctype/timesheet/timesheet.py
…rappe#27742) * feat: add `total_billing_hours` to Sales Invoice * fix: re-save doctypes * fix: indentation * fix: replace reference to old function
* feat: add `total_billing_hours` to Sales Invoice * fix: re-save doctypes * fix: indentation * fix: replace reference to old function (cherry picked from commit 09ccdee) # Conflicts: # erpnext/accounts/doctype/sales_invoice/sales_invoice.js # erpnext/accounts/doctype/sales_invoice/sales_invoice.json # erpnext/accounts/doctype/sales_invoice/sales_invoice.py # erpnext/projects/doctype/timesheet/timesheet.py
Port of #26652
Additional changes
refactor to keep only one way of adding timesheets to the sales invoice.
(Previously one function was fetching timesheets from the backend and adding them to the table in the frontend. Another one was calling a backend method that adds timesheets to the table and then refreshes the frontend. Now we use the first approach only.)
add
from_time
andto_time
to Sales Invoice Timesheet. This is useful for printing timesheets on the Sales Invoice for the customer to check.order timesheets by
start_time
. Useful for the same reason.add some section and column breaks to Sales Invoice Timesheet
no-docs