ERP Next Version 5 - Custom field error

Hi,

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/app.py”, line 49, in application
response = frappe.handler.handle()
File “/home/apt/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/apt/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/apt/frappe-bench/apps/frappe/frappe/init.py”, line 682, in call
return fn(*args, **newargs)
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/load.py”, line 59, in getdoctype
docs = get_meta_bundle(doctype)
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/load.py”, line 69, in get_meta_bundle
bundle = [frappe.desk.form.meta.get_meta(doctype)]
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, 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/redis_wrapper.py”, line 38, in get_value
val = generator()
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 19, in
meta = frappe.cache().get_value(“form_meta:” + doctype, lambda: FormMeta(doctype))
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 31, in init
self.load_assets()
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 41, in load_assets
self.load_templates()
File “/home/apt/frappe-bench/apps/frappe/frappe/desk/form/meta.py”, line 169, in load_templates
module = load_doctype_module(self.name)
File “/home/apt/frappe-bench/apps/frappe/frappe/modules/init.py”, 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/init.py”, line 482, in get_module
return importlib.import_module(modulename)
File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module
import(name)
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!