mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
[file] [patch fix]
This commit is contained in:
@@ -11,6 +11,7 @@ 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)
|
||||||
|
if doc.file_list:
|
||||||
update_for_doc(doctype, doc)
|
update_for_doc(doctype, doc)
|
||||||
webnotes.conn.set_value(doctype, None, "file_list", None)
|
webnotes.conn.set_value(doctype, None, "file_list", None)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user