Fixed bug in get expense query
This commit is contained in:
parent
45c6b550f0
commit
30b97b0b45
@ -362,6 +362,6 @@ def get_expense_account(doctype, txt, searchfield, start, page_len, filters):
|
||||
{condition} {match_condition}"""
|
||||
.format(condition=condition, key=frappe.db.escape(searchfield),
|
||||
match_condition=get_match_cond(doctype)), {
|
||||
'company': filters['company'],
|
||||
'company': filters.get("company", ""),
|
||||
'txt': "%%%s%%" % frappe.db.escape(txt)
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user