commit | 964cd75f6e8aabcaabb66bc2447c6b358a61c930 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Mon Oct 02 10:54:02 2023 +0530 |
committer | GitHub <noreply@github.com> | Mon Oct 02 10:54:02 2023 +0530 |
tree | edef076189e2bd4c595b824447d27e8a39cde018 | |
parent | 559466e1ef36e1a52b35e264fc1cf39ec09bcf55 [diff] | |
parent | 5e4b73918db809afe0c3880a63537d8e4743f3bf [diff] |
Merge pull request #37235 from niyazrazak/patch-13 fix: set route options to cost center
diff --git a/erpnext/accounts/report/profitability_analysis/profitability_analysis.js b/erpnext/accounts/report/profitability_analysis/profitability_analysis.js index c9accef..ebd0ec1 100644 --- a/erpnext/accounts/report/profitability_analysis/profitability_analysis.js +++ b/erpnext/accounts/report/profitability_analysis/profitability_analysis.js
@@ -112,7 +112,7 @@ "to_fiscal_year": data.fiscal_year }; - if(data.based_on == 'cost_center'){ + if(data.based_on == 'Cost Center'){ frappe.route_options["cost_center"] = data.account } else { frappe.route_options["project"] = data.account