浏览代码

Row with label like Opening not displaying in the General Ledger report if user has set user permissions (#3414)

version-14
rohitwaghchaure 8 年前
committed by Nabin Hait
父节点
当前提交
dc455a3c24
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/desk/query_report.py

+ 1
- 1
frappe/desk/query_report.py 查看文件

@@ -287,7 +287,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]:
if dt in match_filters and row[idx] not in match_filters[dt] and frappe.db.exists(dt, row[idx]):
match = False
break



正在加载...
取消
保存