generated from felixm/defaultpy
Fix training regression
This commit is contained in:
@@ -76,6 +76,7 @@ def apply_mappings(transactions: list[Transaction], mappings: dict[str, Mapping]
|
|||||||
assert mapping.count > 0, f"{mapping} used by {t} but count is not greater than '0'."
|
assert mapping.count > 0, f"{mapping} used by {t} but count is not greater than '0'."
|
||||||
mapping.count -= 1
|
mapping.count -= 1
|
||||||
t.mapping = mapping
|
t.mapping = mapping
|
||||||
|
t.account2 = mapping.account2
|
||||||
else:
|
else:
|
||||||
unmapped_count += 1
|
unmapped_count += 1
|
||||||
if unmapped_count > 0:
|
if unmapped_count > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user