Whenever I want to check other documents linked with a sales order or a project, I get the following error : "FileNotFoundError: [Errno 2] No such file or directory: ‘/frappe-bench/apps/erpnext/erpnext/manufacturing/doctype/production_order’.
It seems a past update might have gone wrong and unnoticed, but I can’t find a way to fix it. The doctype production_order was renamed in https://github.com/frappe/erpnext/blob/develop/erpnext/patches/v11_0/rename_production_order_to_work_order.py, but apprently my installation expects the module “production_order” for a reason.
I did ran bench update --reset, to no avail, same for bench migrate. We have been running erpnext for 3 years in productions without real issue.
ERPNext: v12.9.3 (version-12)
Frappe Framework: v12.6.1 (version-12)