2012-01-13 05:44:29 +00:00
|
|
|
import webnotes
|
|
|
|
from webnotes.model.code import get_obj
|
|
|
|
def execute():
|
|
|
|
for sc in webnotes.conn.sql("""select name from `tabSearch Criteria` where ifnull(name,'')
|
|
|
|
like 'srch%' or ifnull(name,'') like '%stdsrch'"""):
|
2012-01-13 06:23:22 +00:00
|
|
|
get_obj('Search Criteria', sc[0]).rename()
|