SUMMARY STEPS TO REPRODUCE 1. Create a Loan 2. Populate details 3. Click Calculate OBSERVED RESULT Impossible to proceed error message saying make one of the fields blank EXPECTED RESULT Loan is calculated SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Tumbleweed (available in About System) KDE Plasma Version: 5.19 KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
First, I suspect your "Observed result" is not the exact error message you probably received. I probably was "You have entered mis-matching information. Please modify your figures or leave one value empty to let KMyMoney calculate it for you" and that message says clearly what you need to do. The reason is that when a loan is calculated, there are a set of formulas by which the loan amount, interest rate, regular payment amount, and possible balloon payment are related. If you leave one of those amounts blank, KMyMoney will evaluate those formulas to calculate the final value. If you fill in all the values, they must be correctly related according to those calculations. If they are not, you get that error. Please let us know is this explains it or if I missed something.
I think the issue is if you put any details in either value where the numbers are you are unable to nullify them and you cannot proceed
Git commit 19e9ac500810c9026c83a532a7e6e990fd39ea63 by Thomas Baumgart. Committed on 25/07/2020 at 11:21. Pushed by tbaumgart into branch '5.1'. Allow to calculate one parameter of a loan When leaving an amount edit field in the new loan account wizard it will automatically be filled with 0. This will prevent the loan calculator to identify the field that should be calculated. Enable the option to allow an empty field prevents the automatic fill with the value 0 on focusOut event. FIXED-IN: 5.1.1 M +5 -0 kmymoney/wizards/newaccountwizard/kloandetailspage.cpp https://invent.kde.org/office/kmymoney/commit/19e9ac500810c9026c83a532a7e6e990fd39ea63
Git commit fe8f1108b022f097c0bc7c0da430dfe0208d2283 by Thomas Baumgart. Committed on 25/07/2020 at 11:22. Pushed by tbaumgart into branch 'master'. Allow to calculate one parameter of a loan When leaving an amount edit field in the new loan account wizard it will automatically be filled with 0. This will prevent the loan calculator to identify the field that should be calculated. Enable the option to allow an empty field prevents the automatic fill with the value 0 on focusOut event. (cherry picked from commit 19e9ac500810c9026c83a532a7e6e990fd39ea63) M +5 -0 kmymoney/wizards/newaccountwizard/kloandetailspage.cpp https://invent.kde.org/office/kmymoney/commit/fe8f1108b022f097c0bc7c0da430dfe0208d2283
*** Bug 431159 has been marked as a duplicate of this bug. ***
Bug 459881 seems to be related. Thomas, could you please take a look at it if / when you have time? Thank you.
What should the subject of this bug actually be? The current one doesn't really make sense. (It's worth fixing to assist future searching.)
(In reply to Jack from comment #7) > What should the subject of this bug actually be? The current one doesn't > really make sense. (It's worth fixing to assist future searching.) Perhaps, [some] fields cannot be left empty [for auto-calculation] in the loan wizard ?