mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-27 02:28:30 +00:00
chore: resolve conflict
This commit is contained in:
@@ -412,16 +412,6 @@ def get_invoices(filters, additional_query_columns):
|
||||
filters, query, doctype="Purchase Invoice", child_doctype="Purchase Invoice Item"
|
||||
)
|
||||
|
||||
<<<<<<< HEAD
|
||||
invoices = query.run(as_dict=True)
|
||||
return invoices
|
||||
=======
|
||||
if filters.get("include_payments"):
|
||||
party_account = get_party_account(
|
||||
"Supplier", filters.get("supplier"), filters.get("company"), include_advance=True
|
||||
)
|
||||
query = query.where(pi.credit_to.isin(party_account))
|
||||
|
||||
from frappe.desk.reportview import build_match_conditions
|
||||
|
||||
query, params = query.walk()
|
||||
@@ -433,7 +423,6 @@ def get_invoices(filters, additional_query_columns):
|
||||
query += " order by posting_date desc, name desc"
|
||||
|
||||
return frappe.db.sql(query, params, as_dict=True)
|
||||
>>>>>>> f4bc1dfd00 (fix: user permissions in sales and purchase report)
|
||||
|
||||
|
||||
def get_conditions(filters, query, doctype):
|
||||
|
||||
Reference in New Issue
Block a user