Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta 2012-11-01 08:26:23 +01:00
commit 56bd5760fa

View File

@ -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)