[kmymoney] [Bug 458552] New: A matched transaction's splits should not be pre-populated if they don't match the amount of the main transaction

Dawid Wróbel bugzilla_noreply at kde.org
Wed Aug 31 15:11:20 BST 2022


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-devel at kde.org
          Reporter: me at 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 the assignee for the bug.


More information about the KMyMoney-devel mailing list