frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.32k stars 7.27k forks source link

Cannot access Naming Series #10172

Closed Ravn10 closed 7 years ago

Ravn10 commented 7 years ago

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

umairsy commented 7 years ago

Hi,

Request you to post this error report on the discuss forum, with the details of the version of your ERPNext account.

https://discuss.erpnext.com