Operation cannot be deleted because it is linked to already deleted timesheet

Title says it all. I’m trying to delete Operations but can’t because the system says they’re linked to timesheets, but the timesheets they’re linked to don’t exist anymore.

Any ideas on how to delete these Operations?

Solved the problem by re-creating Timesheets with the numbers the system was expecting but not linking to the operations. Then I could delete the operations, and after delete the timesheets.

Github issue:

https://github.com/frappe/erpnext/issues/6487

Hi @Dbone,

Thanks for reporting an issue, we have fixed it and we’ll release it soon

Thanks, Rohit

1 Like