'get series current'

def get_current(self, arg=None):

    if self.prefix:
        prefix = self.parse_naming_series()
        self.current_value = frappe.db.get_value(u'Series', prefix, u'current', order_by=u'name')
