Bug 515424

Summary: Wrong currency config for Vietnamese Dong, which is uneditable
Product: [Applications] kmymoney Reporter: projects
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description projects 2026-02-02 16:38:49 UTC
SUMMARY
Vietnamese dong should have "smallest account unit" to be 1₫ and "smallest cash unit" to be 1000₫ (de facto[1]) or 100₫ (de jure[2]), but both are currently set to be 0.01 and not editable.

STEPS TO REPRODUCE
1. Create an account with Vietnamese dong as currency
2. Go to Tools > Currencies
3. Select Vietnamese Dong > Edit

OBSERVED RESULT
- At step 1, balance is displayed with 2 digits after decimal point
- After step 3, I try to correct "smallest account unit" and "smallest cash unit" but the fields are not editable.

EXPECTED RESULT
- Balance is displayed with no digits after decimal point
- If the config is wrong, I can edit "smallest account unit" and "smallest cash unit" so they match the actual currency.

SOFTWARE/OS VERSIONS
Operating System: Alpine Linux 3.24.0_alpha20251224
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1


ADDITIONAL INFORMATION
Sources:
[1]: https://en.wikipedia.org/wiki/Vietnamese_%C4%91%E1%BB%93ng#Third_dong
[2]: https://www.sbv.gov.vn/vi/web/sbv_portal/dong-tien-viet-nam (authoritative article in Vietnamese by State Bank of Vietnam)