Merge pull request #7377 from KanchanChauhan/naming-series
[Fix] Naming series issue
This commit is contained in:
commit
0dab40f4a1
@ -134,7 +134,7 @@ class NamingSeries(Document):
|
||||
"""get series current"""
|
||||
if self.prefix:
|
||||
self.current_value = frappe.db.get_value("Series",
|
||||
self.prefix.split('.')[0], "current")
|
||||
self.prefix.split('.')[0], "current", order_by = "name")
|
||||
|
||||
def insert_series(self, series):
|
||||
"""insert series if missing"""
|
||||
|
Loading…
Reference in New Issue
Block a user