Merge pull request #23380 from ruthra-kumar/ignore_dynamic_links_on_virtual_doctypes
fix: ignore dynamic links in virtual doctypes
This commit is contained in:
commit
a775d5adb0
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ dynamic_link_queries = [
|
|||
`tabDocField`.fieldname, `tabDocField`.options
|
||||
from `tabDocField`, `tabDocType`
|
||||
where `tabDocField`.fieldtype='Dynamic Link' and
|
||||
`tabDocType`.`name`=`tabDocField`.parent
|
||||
`tabDocType`.`name`=`tabDocField`.parent and `tabDocType`.is_virtual = 0
|
||||
order by `tabDocType`.read_only, `tabDocType`.in_create""",
|
||||
"""select `tabCustom Field`.dt as parent,
|
||||
`tabDocType`.read_only, `tabDocType`.in_create,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue