Skip to content

Commit

Permalink
fix: skip virtual doctype in tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Mar 14, 2024
1 parent 3bf3a95 commit 00030a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/patches/v12_0/setup_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def execute():
tag_links = []
time = frappe.utils.get_datetime()

for doctype in frappe.get_list("DocType", filters={"istable": 0, "issingle": 0}):
for doctype in frappe.get_list("DocType", filters={"istable": 0, "issingle": 0, "is_virtual": 0}):
if not frappe.db.count(doctype.name) or not frappe.db.has_column(doctype.name, "_user_tags"):
continue

Expand Down

0 comments on commit 00030a3

Please sign in to comment.