fix: Cash flow mapping fix (#37522)

Cash flow mapping fix
This commit is contained in:
saeedkola
2023-10-23 11:14:06 +05:30
committed by GitHub
parent c05e0a4ffc
commit 8e31379ecc

View File

@@ -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