You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a new Sales Invoice via the Sales Workspace and load the timesheets of a project via the Fetch Timesheet, all timesheets are marked as billed, even if there are still time bookings from other projects in the same timesheets. If I create a sales invoice directly via a project, I do not have this problem.
Steps to reproduce the bug:
Create a timesheet with multiple timesheet details for different projects.
For example:
Timesheet Detail 1: 10 hours for Project 1, marked as billable.
Timesheet Detail 2: Hours for Project 2, also marked as billable.
Submit the timesheet.
Create a sales invoice via the sales workspace and use "Fetch Timesheets" to get billable hours for one of the projects (e.g., Project 1) from timesheets. You get 10 hours.
After submitting the sales invoice, observe that all the hours in the timesheet are marked as billed, rather than just the hours for the invoiced project.
Attempt to create a sales invoice for the second project (e.g., Project 2). Notice that the remaining 10 hours no longer appear as available to invoice, even though they haven’t been invoiced yet.
Expected Behavior:
Only the hours associated with the invoiced project (e.g., Project 1) should be marked as billed, leaving the hours for other projects available for invoicing.
Actual Behavior:
The entire timesheet is marked as billed after invoicing one project, preventing further invoicing of other projects' hours.
This bug can become a serious problem for companies.
Module
projects
Version
Frappe Framework: v15.47.1
ERPNext: v15.41.1
Installation method
docker
Relevant log output / Stack trace / Full Error Message.
No response
The text was updated successfully, but these errors were encountered:
Information about bug
When I create a new Sales Invoice via the Sales Workspace and load the timesheets of a project via the Fetch Timesheet, all timesheets are marked as billed, even if there are still time bookings from other projects in the same timesheets. If I create a sales invoice directly via a project, I do not have this problem.
Steps to reproduce the bug:
Create a timesheet with multiple timesheet details for different projects.
For example:
Submit the timesheet.
Create a sales invoice via the sales workspace and use "Fetch Timesheets" to get billable hours for one of the projects (e.g., Project 1) from timesheets. You get 10 hours.
After submitting the sales invoice, observe that all the hours in the timesheet are marked as billed, rather than just the hours for the invoiced project.
Attempt to create a sales invoice for the second project (e.g., Project 2). Notice that the remaining 10 hours no longer appear as available to invoice, even though they haven’t been invoiced yet.
Expected Behavior:
Only the hours associated with the invoiced project (e.g., Project 1) should be marked as billed, leaving the hours for other projects available for invoicing.
Actual Behavior:
The entire timesheet is marked as billed after invoicing one project, preventing further invoicing of other projects' hours.
This bug can become a serious problem for companies.
Module
projects
Version
Frappe Framework: v15.47.1
ERPNext: v15.41.1
Installation method
docker
Relevant log output / Stack trace / Full Error Message.
No response
The text was updated successfully, but these errors were encountered: