Merge pull request #44975 from aerele/filter-project

fix: add company filter to project
This commit is contained in:
ruthra kumar
2024-12-30 15:27:37 +05:30
committed by GitHub
3 changed files with 28 additions and 4 deletions

View File

@@ -25,6 +25,14 @@ erpnext.buying = {
};
});
this.frm.set_query("project", function (doc) {
return {
filters: {
company: doc.company,
},
};
});
if (this.frm.doc.__islocal
&& frappe.meta.has_field(this.frm.doc.doctype, "disable_rounded_total")) {