erpnext
erpnext copied to clipboard
fix: update the task status from timesheet
Versions 15 and 14
fixes: #34064
Before:
- If you added a task to the timesheet and ticked the 'completed' checkbox and submitted the timesheet, then the task status was set to "working," but it should be "completed".
https://github.com/frappe/erpnext/assets/141945075/4718b0ad-ee40-495f-ac99-7813b4d9c196
After:
- If you added a task with multiple activities, if all activity tasks ticked the 'completed' checkbox and submitted the timesheet, then the task status will update as "completed", but if there are three activities linked to one task and two are 'completed' and one is not 'completed', then the task status will update as "working".
https://github.com/frappe/erpnext/assets/141945075/0ec51fc9-0df1-4429-ad73-de0b28a3d2ea
This pull request has been automatically marked as inactive because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing.
This pull request has been automatically marked as inactive because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing.