fix in custom field patch
This commit is contained in:
parent
7a617b83fb
commit
35535e9931
@ -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`"""):
|
||||||
new_insert_after = regex.sub("", insert_after)
|
if insert_after:
|
||||||
webnotes.conn.set_value("Custom Field", name, "insert_after", new_insert_after)
|
new_insert_after = regex.sub("", insert_after)
|
||||||
|
webnotes.conn.set_value("Custom Field", name, "insert_after", new_insert_after)
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user