mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 04:04:52 +00:00
chore: remove incorrect import
(cherry picked from commit fc2edfbded)
# Conflicts:
# erpnext/controllers/queries.py
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user