Revert "fix: single dr cr entries"
This reverts commit e845b63228baffb3165aee6c24f038477cfb71bf.
This commit is contained in:
parent
8cf6ff69c0
commit
e6f599b32d
@ -1626,10 +1626,3 @@ def make_reverse_journal_entry(source_name, target_doc=None):
|
|||||||
)
|
)
|
||||||
|
|
||||||
return doclist
|
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()
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user