frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
20.17k stars 7.05k forks source link

unsolved: "Fetch Timesheet" completed whole Timesheet despite containing multiple projects #31752 #42880

Open konradbr opened 3 weeks ago

konradbr commented 3 weeks ago

Information about bug

I am still experiencing this bug in 2024, with the behaviour exactly as described here.

Furthermore: attempting to fetch timesheets for a new invoice which were previously incorrectly fetched by the system into another customer's or another project's invoice results in no timesheets getting fetched if all timesheets within the selected timespan have been "consumed" by other invoices, then all open timesheets entries for that customer or project getting fetched upon saving the new invoice, whereby the from and to timestamps do not display in the automatically fetched timesheet entries. Manually deleting all these entries and re-saving results in them getting re-added, until a time range is selected in the filter for fetching timesheets so that within that range there are "unconsumed" timesheet entries available, which then get (correctly) added.

Proposed solution:

Module

accounts, selling, CRM, other

Version

bench 5.17.2 erpnext 15.27.6 erpnextswiss 1.23.3 frappe 15.29.2 hrms 15.22.2 payments 0.0.1

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

No response

konradbr commented 3 weeks ago

Furthermore, when solving this bug, it would be important to implement a backwards-acting check to retrieve all previously wrongly "consumed" timesheet entries, allowing users to invoice them post-factum.