fix: show projects with no company value set

This commit is contained in:
Gursheen Anand 2023-06-30 12:42:19 +05:30
parent 904ca746a6
commit ce252a0d45

View File

@ -15,7 +15,7 @@ frappe.require("assets/erpnext/js/financial_statements.js", function() {
"fieldtype": "MultiSelectList",
get_data: function(txt) {
return frappe.db.get_link_options('Project', txt, {
company: frappe.query_report.get_filter_value("company")
company: ["in", [frappe.query_report.get_filter_value("company"), ""]],
});
},
},