[minor] [refactor]

This commit is contained in:
Rushabh Mehta
2015-05-29 15:56:24 +05:30
parent e3035a593c
commit 4a4a6594d1
2 changed files with 5 additions and 3 deletions

View File

@@ -12,7 +12,6 @@ from frappe.model.document import Document
class NamingSeriesNotSetError(frappe.ValidationError): pass
class NamingSeries(Document):
def get_transactions(self, arg=None):
doctypes = list(set(frappe.db.sql_list("""select parent
from `tabDocField` where fieldname='naming_series'""")