page role series pacth
This commit is contained in:
parent
a5b8ac4867
commit
43dd041ced
@ -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:]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user