Merge branch 'develop' of github.com:frappe/erpnext into develop

This commit is contained in:
Suraj Shetty
2021-05-03 19:44:22 +05:30
99 changed files with 5066 additions and 2081 deletions

View File

@@ -159,6 +159,7 @@ class NamingSeries(Document):
if frappe.db.get_value('Series', series, 'name', order_by="name") == None:
frappe.db.sql("insert into tabSeries (name, current) values (%s, 0)", (series))
@frappe.whitelist()
def update_series_start(self):
if self.prefix:
prefix = self.parse_naming_series()