fix: remove read-only field validation map_doc (#35757)
This commit is contained in:
parent
42a4319ee7
commit
2df6e92c2f
1 changed files with 0 additions and 3 deletions
|
|
@ -240,9 +240,6 @@ def map_fetch_fields(target_doc, df, no_copy_fields):
|
|||
|
||||
# options should be like "link_fieldname.fieldname_in_liked_doc"
|
||||
for fetch_df in target_doc.meta.get("fields", {"fetch_from": f"^{df.fieldname}."}):
|
||||
if not (fetch_df.fieldtype == "Read Only" or fetch_df.read_only):
|
||||
continue
|
||||
|
||||
if (
|
||||
not target_doc.get(fetch_df.fieldname) or fetch_df.fieldtype == "Read Only"
|
||||
) and fetch_df.fieldname not in no_copy_fields:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue