mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +00:00
page role series pacth
This commit is contained in:
@@ -2,4 +2,4 @@ def execute():
|
||||
import webnotes
|
||||
sr = webnotes.conn.sql("select max(name) from `tabPage Role`")
|
||||
if sr and sr[0][0].startswith('PR'):
|
||||
sql("update tabSeries set current = %s where name = 'PR'", int(sr[0][0][2:]))
|
||||
webnotes.conn.sql("update tabSeries set current = %s where name = 'PR'", int(sr[0][0][2:]))
|
||||
|
||||
Reference in New Issue
Block a user