瀏覽代碼

std reports, is_standard is NULL by default

version-14
Rushabh Mehta 12 年之前
父節點
當前提交
914699d156
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      webnotes/widgets/moduleview.py

+ 1
- 1
webnotes/widgets/moduleview.py 查看文件

@@ -77,6 +77,6 @@ def get_report_list(module):
where tabDocType.module=%s
and tabDocType.name = tabReport.ref_doctype
and tabReport.docstatus in (0, NULL)
and ifnull(tabReport.is_standard, "Yes")="No"
and ifnull(tabReport.is_standard, "No")="No"
and ifnull(tabReport.disabled,0) != 1
order by tabReport.name""", module, as_dict=True)

Loading…
取消
儲存