mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 00:01:18 +00:00
Merge pull request #9418 from nick9822/nick9822-patch-3
Removed "Asset" filter on payment account
This commit is contained in:
@@ -224,9 +224,9 @@ cur_frm.fields_dict.cash_bank_account.get_query = function(doc) {
|
|||||||
return {
|
return {
|
||||||
filters: [
|
filters: [
|
||||||
["Account", "account_type", "in", ["Cash", "Bank"]],
|
["Account", "account_type", "in", ["Cash", "Bank"]],
|
||||||
["Account", "root_type", "=", "Asset"],
|
|
||||||
["Account", "is_group", "=",0],
|
["Account", "is_group", "=",0],
|
||||||
["Account", "company", "=", doc.company]
|
["Account", "company", "=", doc.company],
|
||||||
|
["Account", "report_type", "=", "Balance Sheet"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user