tabLeave Period does not exist!

Hi all,

performed an update on my dev box this morning, and got

‘’‘Table ‘1bd3e0294da19198.tabLeave Period’ doesn’t exist’‘’

When running ‘’‘erpnext/patches/v11_0/create_department_records_for_each_company.py’‘’, looks like it was part of an earlier update I must be skipping, about a week or so ago. How can I update to a previous version, then upgrade to current?

SOLVED!

  • Edited the patch directly the do nothing (placed a return in the execute method)
  • re-ran bench migrate
  • removed my edit in the first step
  • re-ran bench update

worked!

Fixing via [fix] reload Leave Period and Staffing Plan doctypes by saurabh6790 · Pull Request #14035 · frappe/erpnext · GitHub