[file] [patch fix]
This commit is contained in:
parent
7c179bd00c
commit
1b35b1aa62
@ -11,8 +11,9 @@ def execute():
|
|||||||
fieldname='file_list' and fieldtype='Text'"""):
|
fieldname='file_list' and fieldtype='Text'"""):
|
||||||
if doctype in singles:
|
if doctype in singles:
|
||||||
doc = webnotes.doc(doctype, doctype)
|
doc = webnotes.doc(doctype, doctype)
|
||||||
update_for_doc(doctype, doc)
|
if doc.file_list:
|
||||||
webnotes.conn.set_value(doctype, None, "file_list", None)
|
update_for_doc(doctype, doc)
|
||||||
|
webnotes.conn.set_value(doctype, None, "file_list", None)
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
for doc in webnotes.conn.sql("""select name, file_list from `tab%s` where
|
for doc in webnotes.conn.sql("""select name, file_list from `tab%s` where
|
||||||
|
Loading…
x
Reference in New Issue
Block a user