Hello I created a custom app for a set or resetting the naming series hope, this will help you
see this video FRAPPE/ERPNext - Global naming series settings - YouTube for tutorial or pull the app here GitHub - johnrechcabatana/set_series_app: Set series app purpose is to set/reset the naming series of every doctype