From fc0122ce760f8c2f14de931bf8f082de8cefa02d Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Tue, 3 Dec 2024 15:39:17 +0530 Subject: [PATCH] chore: fix typo --- erpnext/accounts/report/gross_profit/gross_profit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/report/gross_profit/gross_profit.py b/erpnext/accounts/report/gross_profit/gross_profit.py index 1191f72cb3fa..c59a3bd2a7ae 100644 --- a/erpnext/accounts/report/gross_profit/gross_profit.py +++ b/erpnext/accounts/report/gross_profit/gross_profit.py @@ -915,7 +915,7 @@ def group_items_by_invoice(self): """ grouped = OrderedDict() - product_bundels = self.product_bundles.get("Sales Invoice", {}) + product_bundles = self.product_bundles.get("Sales Invoice", {}) for row in self.si_list: # initialize list with a header row for each new parent @@ -926,7 +926,7 @@ def group_items_by_invoice(self): ) # if item is a bundle, add it's components as seperate rows - if bundled_items := product_bundels.get(row.parent, {}).get(row.item_code): + if bundled_items := product_bundles.get(row.parent, {}).get(row.item_code): for x in bundled_items: bundle_item = self.get_bundle_item_row(row, x) grouped.get(row.parent).append(bundle_item)