Merge pull request #7566 from KanchanChauhan/naming-series-fix
[Fix] Naming series issue fix
This commit is contained in:
commit
8452e60204
@ -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…
x
Reference in New Issue
Block a user