I am facing this error while migrating from erpnext 13 to erpnext v15. This is custom app in which modules are used. Among these modules, one of the module is causing problem. Can anyone help me with this?
Traceback (most recent call last):
File “/home/onehash/bench/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 75, in get_app_commands
app_command_module = importlib.import_module(f"{app}.commands")
File “/usr/lib/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/home/onehash/bench/frappe-bench/apps/journeys/journeys/commands/init.py”, line 9, in
from journeys.limits import update_limits, get_limits
File “/home/onehash/bench/frappe-bench/apps/journeys/journeys/limits.py”, line 8, in
from frappe.utils.user import get_enabled_system_users,reset_simultaneous_sessions,get_system_managers
ImportError: cannot import name ‘reset_simultaneous_sessions’ from ‘frappe.utils.user’ (/home/onehash/bench/frappe-bench/apps/frappe/frappe/utils/user.py