Bug 443898

Summary: Changing the transfer account moves the direction of the transfer from 'from' to 'to'
Product: [Applications] kmymoney Reporter: Jason Thompson <jason>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.1.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jason Thompson 2021-10-17 18:40:50 UTC
SUMMARY
When importing transactions the account guessed by the program may be incorrect. Manually changing the account to the correct one in the ledger is causing the direction of the transfer to be flipped from 'from' to 'to'. If this unwanted flip is not noticed then the transaction is entered incorrectly.

STEPS TO REPRODUCE
1. Import transactions that include transfers from multiple accounts.
2. Change the transaction account to another account. (such as transfer from savings to transfer from checking)
3. Observe that 'From' was unexpectedly flip to 'To'

OBSERVED RESULT
'From' is flipped to 'To'

EXPECTED RESULT
The direction of the transfer is not touched.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 21.10
(available in About System)
KDE Plasma Version: Don't know
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This defect is causing me to make small mistakes in my budget where money is flowing the wrong way.