fix: Remove cost center query from doctypes

This commit is contained in:
Deepesh Garg
2020-11-15 22:44:39 +05:30
parent 6e5748e2a3
commit f916bc048f
12 changed files with 3 additions and 106 deletions

View File

@@ -31,15 +31,6 @@ frappe.ui.form.on(cur_frm.doctype, {
}
}
});
frm.set_query("cost_center", "taxes", function(doc) {
return {
filters: {
'company': doc.company,
"is_group": 0
}
}
});
}
},
validate: function(frm) {