fix: Remove cost center query from doctypes

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

View File

@@ -167,15 +167,6 @@ frappe.ui.form.on("Expense Claim", {
};
});
frm.set_query("cost_center", "expenses", function() {
return {
filters: {
"company": frm.doc.company,
"is_group": 0
}
};
});
frm.set_query("payable_account", function() {
return {
filters: {