chore: remove incorrect import

(cherry picked from commit fc2edfbded)

# Conflicts:
#	erpnext/controllers/queries.py
This commit is contained in:
ruthra kumar
2026-03-17 15:23:05 +05:30
committed by Mergify
parent fd336e8d4b
commit f232024fa4

View File

@@ -607,9 +607,13 @@ def get_blanket_orders(doctype, txt, searchfield, start, page_len, filters):
@frappe.whitelist()
@frappe.validate_and_sanitize_search_inputs
<<<<<<< HEAD
def get_income_account(doctype, txt, searchfield, start, page_len, filters):
from erpnext.controllers.queries import get_match_cond
=======
def get_income_account(doctype: str, txt: str, searchfield: str, start: int, page_len: int, filters: dict):
>>>>>>> fc2edfbded (chore: remove incorrect import)
# income account can be any Credit account,
# but can also be a Asset account with account_type='Income Account' in special circumstances.
# Hence the first condition is an "OR"
@@ -695,9 +699,13 @@ def get_filtered_dimensions(doctype, txt, searchfield, start, page_len, filters,
@frappe.whitelist()
@frappe.validate_and_sanitize_search_inputs
<<<<<<< HEAD
def get_expense_account(doctype, txt, searchfield, start, page_len, filters):
from erpnext.controllers.queries import get_match_cond
=======
def get_expense_account(doctype: str, txt: str, searchfield: str, start: int, page_len: int, filters: dict):
>>>>>>> fc2edfbded (chore: remove incorrect import)
if not filters:
filters = {}