Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
429d911b81
@ -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) {
|
cur_frm.fields_dict['entries'].grid.get_field('account').get_query = function(doc) {
|
||||||
return {
|
return {
|
||||||
query: "accounts.utils.get_account_list",
|
filters: {
|
||||||
filters: { company: doc.company }
|
group_or_ledger: "Ledger",
|
||||||
|
company: doc.company
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user