ERP Next Version 5 - Custom field error


We begin using ERP Next 5, because it’s absolutely necessary to use a chart of account with more than 4 root chart.

But when I look at the custom field option ERP Next return me this :

Traceback (innermost last):
File “/home/apt/frappe-bench/apps/frappe/frappe/”, line 49, in application
response = frappe.handler.handle()
File “/home/apt/frappe-bench/apps/frappe/frappe/”, line 66, in handle
File “/home/apt/frappe-bench/apps/frappe/frappe/”, line 89, in execute_cmd
ret =, **frappe.form_dict)
File “/home/apt/frappe-bench/apps/frappe/frappe/”, line 682, in call
return fn(*args, **newargs)
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/”, line 59, in getdoctype
docs = get_meta_bundle(doctype)
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/”, line 69, in get_meta_bundle
bundle = [frappe.desk.form.meta.get_meta(doctype)]
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/”, line 19, in get_meta
meta = frappe.cache().get_value(“form_meta:” + doctype, lambda: FormMeta(doctype))
File “/home/apt/frappe-bench/apps/frappe/frappe/utils/”, line 38, in get_value
val = generator()
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/”, line 19, in
meta = frappe.cache().get_value(“form_meta:” + doctype, lambda: FormMeta(doctype))
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/”, line 31, in init
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/”, line 41, in load_assets
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/”, line 169, in load_templates
module = load_doctype_module(
File “/home/apt/frappe-bench/apps/frappe/frappe/modules/”, line 60, in load_doctype_module
doctype_python_modules[key] = frappe.get_module(get_module_name(doctype, module, prefix))
File “/home/apt/frappe-bench/apps/frappe/frappe/”, line 482, in get_module
return importlib.import_module(modulename)
File “/usr/lib/python2.7/importlib/”, line 37, in import_module
ImportError: No module named custom_field.custom_field

Is it because you have not finish this part yet?

Hi there,

V5 is not in beta yet and shouldn’t be used in production. I would suggest using V4 if you can til it is up and running. I am sure this type of error report will be helpful for the core dev team

Thanks can you file this at Issues · frappe/erpnext · GitHub

Thank you I’ll do this!