Removed "Asset" filter on payment account

This commit is contained in:
nick9822 2017-06-21 19:51:08 +05:30 committed by GitHub
parent d59df5dd5d
commit 881491cd2b

View File

@ -224,7 +224,6 @@ cur_frm.fields_dict.cash_bank_account.get_query = function(doc) {
return {
filters: [
["Account", "account_type", "in", ["Cash", "Bank"]],
["Account", "root_type", "=", "Asset"],
["Account", "is_group", "=",0],
["Account", "company", "=", doc.company]
]