Template time-sheet not found

I am getting an error:" Template timesheet not found" when filling time sheets i.e when I open a timesheets row as shown in the screenshot below. On ERPNext version 12.19.0 Frappe version 12.16.2. Anybody else facing this issue.

facing the error in v13 as well