default account's custom query in company
This commit is contained in:
parent
c17dff4b01
commit
a19150ddaf
@ -146,10 +146,9 @@ erpnext.company.setup_queries = function(frm) {
|
||||
|
||||
erpnext.company.set_custom_query = function(frm, v) {
|
||||
var filters = {
|
||||
"company": frm.doc.company,
|
||||
"company": frm.doc.name,
|
||||
"is_group": 0
|
||||
};
|
||||
|
||||
for (var key in v[1])
|
||||
filters[key] = v[1][key];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user