minor cleanup
This commit is contained in:
parent
3964db5d95
commit
0cc935aa95
1 changed files with 0 additions and 7 deletions
|
|
@ -150,13 +150,6 @@ def get_user_match_filters(doctypes, ref_doctype):
|
|||
doctypes_meta = {}
|
||||
tables = []
|
||||
|
||||
for dt in doctypes:
|
||||
tables.append("`tab" + dt + "`")
|
||||
doctypes_meta[dt] = frappe.model.doctype.get(dt)
|
||||
|
||||
frappe.local.reportview_tables = tables
|
||||
frappe.local.reportview_doctypes = doctypes_meta
|
||||
|
||||
for dt in doctypes:
|
||||
match_filters.update(frappe.widgets.reportview.build_match_conditions(dt,
|
||||
None, False))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue