Bug 440732

Summary: Importer should not copy splits from previous transactions if the amounts are different
Product: [Applications] kmymoney Reporter: Dawid Wróbel <me>
Component: importerAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.2   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dawid Wróbel 2021-08-08 09:50:48 UTC
SUMMARY
The app pre-fills the imported transaction with the information from a previously entered transaction, if the required conditions are met (payee/memo matching). This includes the split info, which is expected. However, split info is copied even if the amounts of the transactions are different, which will result in an unbalanced transaction requiring editing the splits and removing them by hand.


STEPS TO REPRODUCE
1. Add a split transaction
2. Import a transaction that matches the aforementioned, but has a different total amount


OBSERVED RESULT
The split info is copied and the transaction is unbalanced.

EXPECTED RESULT
The split info should not be copied in this case.