Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
56bd5760fa
@ -6,6 +6,7 @@ def execute():
|
|||||||
|
|
||||||
for name, insert_after in webnotes.conn.sql("""select name, insert_after
|
for name, insert_after in webnotes.conn.sql("""select name, insert_after
|
||||||
from `tabCustom Field`"""):
|
from `tabCustom Field`"""):
|
||||||
|
if insert_after:
|
||||||
new_insert_after = regex.sub("", insert_after)
|
new_insert_after = regex.sub("", insert_after)
|
||||||
webnotes.conn.set_value("Custom Field", name, "insert_after", new_insert_after)
|
webnotes.conn.set_value("Custom Field", name, "insert_after", new_insert_after)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user