Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Dec 3, 2024
1 parent 4e6a589 commit fc0122c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/accounts/report/gross_profit/gross_profit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit fc0122c

Please sign in to comment.