fix: don't update unnecessary fields
removed attached_to_doctype and attached_to_field from set_value as those are not required. Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
This commit is contained in:
parent
d80e0a10df
commit
e888e49cc2
1 changed files with 0 additions and 2 deletions
|
|
@ -385,8 +385,6 @@ def relink_files(doc, fieldname, temp_doc_name):
|
|||
mislinked_file,
|
||||
field={
|
||||
"attached_to_name": doc.name,
|
||||
"attached_to_doctype": doc.doctype,
|
||||
"attached_to_field": fieldname,
|
||||
},
|
||||
)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue