Skip to content

A local-first personal finance app

Fixing import of reconciled split transactions (#2543)

David Kus8b34ba3958fe
diff --git a/packages/loot-core/src/shared/transactions.ts b/packages/loot-core/src/shared/transactions.ts
index a1a87df9fb..c4f868725b 100644
--- a/packages/loot-core/src/shared/transactions.ts
+++ b/packages/loot-core/src/shared/transactions.ts
@@ -54,6 +54,7 @@ export function makeChild<T extends GenericTransactionEntity>(
account: parent.account,
date: parent.date,
cleared: parent.cleared != null ? parent.cleared : null,
+ reconciled: 'reconciled' in data ? data.reconciled : parent.reconciled,
starting_balance_flag:
parent.starting_balance_flag != null
? parent.starting_balance_flag
diff --git a/upcoming-release-notes/2543.md b/upcoming-release-notes/2543.md
new file mode 100644
index 0000000000..4d60b7d682
--- /dev/null
+++ b/upcoming-release-notes/2543.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [davidkus]
+---
+
+When importing reconciled split transaction, the resulting sub-transactions is also marked as reconciled.