[fix] get_query where options not mentioned

This commit is contained in:
Nabin Hait
2013-07-10 20:30:00 +05:30
parent eddd4a1674
commit d96bfaf6af
3 changed files with 11 additions and 11 deletions

View File

@@ -124,6 +124,7 @@ cur_frm.cscript.convert_to_group = function(doc, cdt, cdn) {
cur_frm.fields_dict['master_name'].get_query = function(doc) {
if (doc.master_type) {
return {
doctype: doc.master_type,
query: "accounts.doctype.account.account.get_master_name",
filters: { "master_type": doc.master_type }
}