Bug 440845

Summary: Importer should try matching existing account by the number that is stripped of any formatting
Product: [Applications] kmymoney Reporter: Dawid Wróbel <me>
Component: importerAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.1.2   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dawid Wróbel 2021-08-10 18:21:18 UTC
SUMMARY
When importing a statement, KMM tries to match the account number provided by the statement with a number of an existing account. However, it does a verbatim alphanumeric comparison, which will fail if the string of either side is formatted differently. 

STEPS TO REPRODUCE
1. Have an account A with a A' number provided (e.g. 111-2222-33)
2. Import a statement that references an account A with A" formatting (11122233)

OBSERVED RESULT
KMM won't automatically match A" with A' and will ask user to locate it manually on the list.

EXPECTED RESULT
KMM should match A" with A' and assign the transaction to A properly without user intervention.