Naming Series Error Issue

I am getting this error when I go the naming series screen. Any ideas? This is a local install on Ubuntu Desktop.

Thanks

Jay

Traceback (most recent call last):
File “/home/proman/frappe-bench/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/proman/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/proman/frappe-bench/apps/frappe/frappe/handler.py”, line 42, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/proman/frappe-bench/apps/frappe/frappe/init.py”, line 903, in call
return fn(*args, **newargs)
File “/home/proman/frappe-bench/apps/frappe/frappe/handler.py”, line 73, in runserverobj
frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
File “/home/proman/frappe-bench/apps/frappe/frappe/desk/form/run_method.py”, line 38, in runserverobj
r = doc.run_method(method, args)
File “/home/proman/frappe-bench/apps/frappe/frappe/model/document.py”, line 655, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/proman/frappe-bench/apps/frappe/frappe/model/document.py”, line 871, in composer
return composed(self, method, *args, **kwargs)
File “/home/proman/frappe-bench/apps/frappe/frappe/model/document.py”, line 854, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/proman/frappe-bench/apps/frappe/frappe/model/document.py”, line 649, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/proman/frappe-bench/apps/erpnext/erpnext/setup/doctype/naming_series/naming_series.py”, line 28, in get_transactions
options = self.get_options(d)
File “/home/proman/frappe-bench/apps/erpnext/erpnext/setup/doctype/naming_series/naming_series.py”, line 133, in get_options
return frappe.get_meta(arg or self.select_doc_for_series).get_field(“naming_series”).options
AttributeError: ‘NoneType’ object has no attribute ‘options’

Yeah could replicate it on my local as well. Looking into it. Thanks for reporting it.

It is working fine on Yesterday’s fresh installation though.

Thanks

Jay

Is the fix done? Has it been pushed out? Do you need anything else from me?

Thanks

Jay

It has been fixed on develop branch. https://github.com/frappe/erpnext/pull/7566

Dear @KanchanChauhan , do you think this issue is related to this thread - When I go to naming series I get an error ??

I am also facing the same issue

@trupti
The issue is not replicating in the local instance. As suggested by nabin in another post There was an issue which has been fixed in approx 2 weeks ago. Can you please check and confirm the version you are on.