[fix] query report dict key fetch
This commit is contained in:
parent
e95df5491e
commit
6dfc888f82
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ def has_match(row, linked_doctypes, doctype_match_filters, ref_doctype, if_owner
|
|||
if dt=="User" and columns_dict[idx]==columns_dict.get("owner"):
|
||||
continue
|
||||
|
||||
if dt in match_filters and row[idx] not in match_filters[dt] and frappe.db.exists(dt, row[idx]):
|
||||
if dt in match_filters and row.get(idx) not in match_filters.get(dt) and frappe.db.exists(dt, row.get(idx)):
|
||||
match = False
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue