mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-22 19:06:36 +00:00
Merge pull request #47031 from frappe/mergify/bp/version-15/pr-47012
fix: correct doctype in item_wise_purchase register (backport #47012)
This commit is contained in:
@@ -369,7 +369,7 @@ def get_items(filters, additional_table_columns):
|
||||
from frappe.desk.reportview import build_match_conditions
|
||||
|
||||
query, params = query.walk()
|
||||
match_conditions = build_match_conditions("Sales Invoice")
|
||||
match_conditions = build_match_conditions(doctype)
|
||||
|
||||
if match_conditions:
|
||||
query += " and " + match_conditions
|
||||
|
||||
Reference in New Issue
Block a user