From 9f755ad65acb91d20082fb452af0373ed365c21b Mon Sep 17 00:00:00 2001 From: khushi8112 Date: Fri, 13 Mar 2026 14:37:11 +0530 Subject: [PATCH] feat: show subsidiary companies value in purchase analytics --- .../buying/report/purchase_analytics/purchase_analytics.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/erpnext/buying/report/purchase_analytics/purchase_analytics.js b/erpnext/buying/report/purchase_analytics/purchase_analytics.js index 23a188057d9..b66c1c429d0 100644 --- a/erpnext/buying/report/purchase_analytics/purchase_analytics.js +++ b/erpnext/buying/report/purchase_analytics/purchase_analytics.js @@ -65,6 +65,11 @@ frappe.query_reports["Purchase Analytics"] = { default: "Monthly", reqd: 1, }, + { + fieldname: "show_aggregate_value_from_subsidiary_companies", + label: __("Show Aggregate Value from Subsidiary Companies"), + fieldtype: "Check", + }, ], get_datatable_options(options) { return Object.assign(options, {