Skip to content

Commit

Permalink
fix: project filtering in P&L Report
Browse files Browse the repository at this point in the history
  • Loading branch information
GursheenK committed Jun 30, 2023
1 parent 1d1103f commit 904ca74
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ frappe.require("assets/erpnext/js/financial_statements.js", function() {
"label": __("Project"),
"fieldtype": "MultiSelectList",
get_data: function(txt) {
return frappe.db.get_link_options('Project', txt);
}
return frappe.db.get_link_options('Project', txt, {
company: frappe.query_report.get_filter_value("company")
});
},
},
{
"fieldname": "include_default_book_entries",
Expand Down

0 comments on commit 904ca74

Please sign in to comment.