[Fix] Naming series issue fix
This commit is contained in:
parent
ab65f6d8b1
commit
679cc23abb
@ -130,7 +130,8 @@ class NamingSeries(Document):
|
||||
throw(_('Special Characters except "-", "#", "." and "/" not allowed in naming series'))
|
||||
|
||||
def get_options(self, arg=None):
|
||||
return frappe.get_meta(arg or self.select_doc_for_series).get_field("naming_series").options
|
||||
if frappe.get_meta(arg or self.select_doc_for_series).get_field("naming_series"):
|
||||
return frappe.get_meta(arg or self.select_doc_for_series).get_field("naming_series").options
|
||||
|
||||
def get_current(self, arg=None):
|
||||
"""get series current"""
|
||||
|
Loading…
Reference in New Issue
Block a user