mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
search_criteria patch
This commit is contained in:
@@ -3,7 +3,4 @@ from webnotes.model.code import get_obj
|
|||||||
def execute():
|
def execute():
|
||||||
for sc in webnotes.conn.sql("""select name from `tabSearch Criteria` where ifnull(name,'')
|
for sc in webnotes.conn.sql("""select name from `tabSearch Criteria` where ifnull(name,'')
|
||||||
like 'srch%' or ifnull(name,'') like '%stdsrch'"""):
|
like 'srch%' or ifnull(name,'') like '%stdsrch'"""):
|
||||||
try:
|
get_obj('Search Criteria', sc[0]).rename()
|
||||||
get_obj('Search Criteria', sc[0]).rename()
|
|
||||||
except AttributeError, e:
|
|
||||||
pass
|
|
||||||
|
|||||||
Reference in New Issue
Block a user