Bug 451548 - Skrooge field tip and handbook should mention loan Initial balance should be negative
Summary: Skrooge field tip and handbook should mention loan Initial balance should be ...
Status: RESOLVED FIXED
Alias: None
Product: skrooge
Classification: Applications
Component: general (other bugs)
Version First Reported In: Trunk from git
Platform: unspecified All
: NOR normal
Target Milestone: 25.1.0
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-15 23:23 UTC by skierpage
Modified: 2022-05-12 20:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2022-03-15 23:23:05 UTC
SUMMARY
I created an account of type "Loan" and realized it probably should be negative if I owe a lender on it. But maybe Skrooge a + $10,000 Loan must be a debt to someone else so the negative value is implied. So I looked in the handbook and it doesn't say.

STEPS TO REPRODUCE
1. Open Accounts view, deselect any account
2. In the Editing panel below the accounts table (click [Edit] to see it), begin to enter a loan
3. Wonder if the loan's Initial balance should be negative if you owe.
4. Go look in the Skrooge Handbook https://docs.kde.org/trunk5/en/skrooge/skrooge/skrooge.pdf

OBSERVED RESULT
The field help status says only "Initial balance of the account."
There's no mention of negative balance in the handbook, or a section on setting up loans.
After some searching I found the 2013 forum thread https://forum.kde.org/viewtopic.php?f=210&t=110906&p=267206&hilit=loan+skrooge#p267206 where @smankowski says " You should create a new account with type=loan with a negative amount corresponding to the loan."

EXPECTED RESULT
The field help status should say "Initial balance of the account. (Enter a negative amount if you owe.)"
Mention something similar in the Skrooge handbook section 3.3.1 Account properties.
Consider adding a section on paying off loans; in that same message @smankowski says "Each time you refund [? probably better expressed as 'pay off some of'] this loan, you do a transfer from your current account to the loan account." which is useful guidance.

SOFTWARE/OS VERSIONS
Flatpak runtime: org.kde.Platform/x86_64/5.15
Comment 1 skierpage 2022-03-16 02:55:39 UTC
The other advice for loans that seems useful for the handbook is how to split the loan payment transfer between mortgage and premium. @JesusM explained it in reply to https://forum.kde.org/viewtopic.php?f=210&t=171648
Comment 2 Stephane MANKOWSKI 2022-05-12 20:14:56 UTC
This is not mandatory.
In my case, the initial balance is 0. And I added a negative operation.
Comment 3 Stephane MANKOWSKI 2022-05-12 20:20:33 UTC
Git commit 0a935a59abc59f15013ceea68bd67aca26eb8a39 by Stephane MANKOWSKI.
Committed on 12/05/2022 at 20:20.
Pushed by smankowski into branch 'master'.

Skrooge field tip and handbook should mention loan Initial balance should be negative

M  +1    -1    doc/index.docbook
M  +1    -1    plugins/skrooge/skrooge_bank/skgbankpluginwidget_base.ui

https://invent.kde.org/office/skrooge/commit/0a935a59abc59f15013ceea68bd67aca26eb8a39