Skip to content

Commit

Permalink
fix: Cash flow mapping fix (#37522)
Browse files Browse the repository at this point in the history
Cash flow mapping fix
  • Loading branch information
saeedkola authored Oct 23, 2023
1 parent c05e0a4 commit 8e31379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/accounts/report/cash_flow/custom_cash_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def setup_mappers(mappers):
mapping["finance_costs"] = []
mapping["finance_costs_adjustments"] = []
doc = frappe.get_doc("Cash Flow Mapper", mapping["name"])
mapping_names = [item.name for item in doc.accounts]
mapping_names = [item.mapping for item in doc.accounts]

if not mapping_names:
continue
Expand Down

0 comments on commit 8e31379

Please sign in to comment.