Merge pull request #41401 from Nihantra-Patel/fix_project_cost_center_filter

fix: cost center filter according to the company in project
This commit is contained in:
ruthra kumar
2024-05-27 10:09:37 +05:30
committed by GitHub

View File

@@ -55,6 +55,14 @@ frappe.ui.form.on("Project", {
filters: filters,
};
});
frm.set_query("cost_center", () => {
return {
filters: {
company: frm.doc.company,
},
};
});
},
refresh: function (frm) {