Hi,
I have an issue with Naming Series. It wont show the list of transaction, instead following error pops up.
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 56, in application
response = frappe.handler.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle
data = execute_cmd(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 52, in execute_cmd
return frappe.call(method, frappe.form_dict)
File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 913, in call
return fn(*args, *newargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 80, in runserverobj
frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/run_method.py", line 38, in runserverobj
r = doc.run_method(method, args)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 666, in run_method
out = Document.hook(fn)(self, args, kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 887, in composer
return composed(self, method, *args, kwargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 870, in runner
add_to_return_value(self, fn(self, *args, *kwargs))
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 660, in
fn = lambda self, args, kwargs: getattr(self, method)(*args, **kwargs)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/naming_series/naming_series.py", line 42, in get_transactions
"transactions": "\n".join([''] + sorted(doctypes)),
TypeError: sequence item 1: expected string or Unicode, NoneType found
Hi, I have an issue with Naming Series. It wont show the list of transaction, instead following error pops up.
Traceback (most recent call last): File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 56, in application response = frappe.handler.handle() File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle data = execute_cmd(cmd) File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 52, in execute_cmd return frappe.call(method, frappe.form_dict) File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 913, in call return fn(*args, *newargs) File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 80, in runserverobj frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args) File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/run_method.py", line 38, in runserverobj r = doc.run_method(method, args) File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 666, in run_method out = Document.hook(fn)(self, args, kwargs) File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 887, in composer return composed(self, method, *args, kwargs) File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 870, in runner add_to_return_value(self, fn(self, *args, *kwargs)) File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 660, in
fn = lambda self, args, kwargs: getattr(self, method)(*args, **kwargs)
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/naming_series/naming_series.py", line 42, in get_transactions
"transactions": "\n".join([''] + sorted(doctypes)),
TypeError: sequence item 1: expected string or Unicode, NoneType found