Bug 507235 - bad Unit import for Ms Money
Summary: bad Unit import for Ms Money
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.1.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 25.1.0
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-19 14:25 UTC by freuk
Modified: 2025-07-22 18:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
bad import (237.19 KB, image/png)
2025-07-19 14:25 UTC, freuk
Details
Bug Skrooge.zip (3.01 MB, application/zip)
2025-07-19 22:06 UTC, freuk
Details
data the test the bug (3.01 MB, application/zip)
2025-07-19 22:10 UTC, freuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description freuk 2025-07-19 14:25:05 UTC
Created attachment 183343 [details]
bad import

SUMMARY
Import of Microsoft Money create Unit but with with value 1 €
Import with a qif file create Unit with the rigth value

STEPS TO REPRODUCE
1. import msmoney file 
2. goto the unit page 
3. all values are 1 €

second test
1. import qif file exported from Money
2. goto the unit page 
3. all values are OK
Comment 1 Stephane MANKOWSKI 2025-07-19 15:32:07 UTC
Could you provide me a sample file anonymized of mny file to reproduce the issue ?
Comment 2 freuk 2025-07-19 22:06:15 UTC
Created attachment 183359 [details]
Bug Skrooge.zip

Yes here it is in BUg Skrooge.zip, you will find in money 3 accounts : 
courant, placement and placement_liquitite ( used by money to make cash 
tracking when purchase sale )
  i have put the Money file + export and the skrooge files created by 
importing MNY file and an other by importing QIF files

you can see many differences from the two import MNY or QIF

the MNY import is better except the UNIT values

the QIF import duplicate the account and the UINT are correct

Hope this wil help ..

let me known if you need more information

Sincerely

Le 19/07/2025 à 17:32, Stephane MANKOWSKI a écrit :
> https://bugs.kde.org/show_bug.cgi?id=507235
>
> --- Comment #1 from Stephane MANKOWSKI<stephane@mankowski.fr> ---
> Could you provide me a sample file anonymized of mny file to reproduce the
> issue ?
>
Comment 3 freuk 2025-07-19 22:10:41 UTC
Created attachment 183360 [details]
data the test the bug

 here it is in BUg Skrooge data.zip, you will find in money 3 accounts : courant, placement and placement_liquitite ( used by money to make cash tracking when purchase sale )
 i have put the Money file + export and the skrooge files created by importing MNY file and an other by importing QIF files
you can see many differences from the two import MNY or QIF
the MNY import is better except the UNIT values
the QIF import duplicate the account and the UINT are correct

Hope this wil help ..

let me known if you need more information

Sincerely
Comment 4 Stephane MANKOWSKI 2025-07-22 18:16:04 UTC
Git commit ff229aff81b122447689677920a8a688a12b1c45 by Stéphane MANKOWSKI.
Committed on 22/07/2025 at 18:15.
Pushed by smankowski into branch 'master'.

bad Unit import for Ms Money

M  +355  -356  CHANGELOG
M  +1    -0    doc/index.docbook
M  +22   -0    plugins/import/skrooge_import_mny/skgimportpluginmny.cpp
A  +-    --    tests/input/skgtestimportmny3/507235.mny
M  +1    -1    tests/skgbankmodelertest/skgtestimportmny1.cpp
M  +3    -3    tests/skgbankmodelertest/skgtestimportmny2.cpp
M  +27   -0    tests/skgbankmodelertest/skgtestimportmny3.cpp

https://invent.kde.org/office/skrooge/-/commit/ff229aff81b122447689677920a8a688a12b1c45