From e6f599b32daaa7e4d79a3247b1e2170a000e88ce Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Sun, 14 Jan 2024 11:16:17 +0530 Subject: [PATCH] Revert "fix: single dr cr entries" This reverts commit e845b63228baffb3165aee6c24f038477cfb71bf. --- erpnext/accounts/doctype/journal_entry/journal_entry.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py index 9c2868c172..619912b46b 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.py +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py @@ -1626,10 +1626,3 @@ def make_reverse_journal_entry(source_name, target_doc=None): ) return doclist - - -@frappe.whitelist() -def get_against_type(doctype, txt, searchfield, start, page_len, filters): - against_types = frappe.db.get_list("Party Type", pluck="name") + ["Account"] - doctype = frappe.qb.DocType("DocType") - return frappe.qb.from_(doctype).select(doctype.name).where(doctype.name.isin(against_types)).run()