Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta 2013-02-11 15:56:17 +05:30
commit 429d911b81

View File

@ -161,8 +161,10 @@ cur_frm.cscript.voucher_type = function(doc, cdt, cdn) {
cur_frm.fields_dict['entries'].grid.get_field('account').get_query = function(doc) {
return {
query: "accounts.utils.get_account_list",
filters: { company: doc.company }
filters: {
group_or_ledger: "Ledger",
company: doc.company
}
}
}