https://bugs.kde.org/show_bug.cgi?id=458552

            Bug ID: 458552
           Summary: A matched transaction's splits should not be
                    pre-populated if they don't match the amount of the
                    main transaction
           Product: kmymoney
           Version: git (master)
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: ux-ui
          Assignee: kmymoney-de...@kde.org
          Reporter: m...@dawidwrobel.com
  Target Milestone: ---

SUMMARY
For a while now, whenever KMM matches an imported transaction, it also copies
the splits. However, this should not be done if the total amount of splits is
different than the amount of the transaction.

STEPS TO REPRODUCE
1. Add/import a transaction
2. Edit its splits
3. Import a transaction that matches transaction 1), but has a different amount


OBSERVED RESULT
Notice that the newly-imported transaction's splits are pre-filled with those
of the matched 1) transaction, but their sum is off, which is also denoted by
the exclamation mark icon.

EXPECTED RESULT
If the amount of transaction differs from that of the matched transaction,
splits should not be imported. 
What's worth considering is that if more than a single transaction can be
matched against, the logic should match against the one that has a matching
amount, if any does. In this case the splits would be copied as the split
totals would match. 

This affects stable branch as well, if I remember correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to