mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-22 10:56:30 +00:00
fix: correct doctype in item_wise_purchase register
(cherry picked from commit b8b8dce733)
This commit is contained in:
@@ -369,7 +369,7 @@ def get_items(filters, additional_table_columns):
|
|||||||
from frappe.desk.reportview import build_match_conditions
|
from frappe.desk.reportview import build_match_conditions
|
||||||
|
|
||||||
query, params = query.walk()
|
query, params = query.walk()
|
||||||
match_conditions = build_match_conditions("Sales Invoice")
|
match_conditions = build_match_conditions(doctype)
|
||||||
|
|
||||||
if match_conditions:
|
if match_conditions:
|
||||||
query += " and " + match_conditions
|
query += " and " + match_conditions
|
||||||
|
|||||||
Reference in New Issue
Block a user