mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-27 15:12:21 +01:00
[patches] removed export file from update file data patch
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import webnotes, webnotes.utils, os
|
||||
from webnotes.modules.export_file import export_to_files
|
||||
|
||||
def execute():
|
||||
webnotes.reload_doc("core", "doctype", "file_data")
|
||||
@@ -26,7 +25,6 @@ def execute():
|
||||
|
||||
webnotes.conn.sql("""delete from tabDocField where fieldname='file_list'
|
||||
and parent=%s""", doctype)
|
||||
export_to_files([["DocType", doctype]])
|
||||
|
||||
def update_for_doc(doctype, doc):
|
||||
for filedata in doc.file_list.split("\n"):
|
||||
|
||||
Reference in New Issue
Block a user