From kmymoney-devel Wed Jun 30 16:59:46 2021 From: Jeremy Whiting Date: Wed, 30 Jun 2021 16:59:46 +0000 To: kmymoney-devel Subject: account limits Message-Id: X-MARC-Message: https://marc.info/?l=kmymoney-devel&m=162507242232363 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--000000000000fe5feb05c5fea6ad" --000000000000fe5feb05c5fea6ad Content-Type: text/plain; charset="UTF-8" Hello, Been using KMM for years. I recently updated my windows installation from 5.0.x to 5.1.2 and added some new credit accounts to it and noticed some strangeness on the home screen. When I added a 75 cent charge to one new account that had a limit set of $5000 the home screen showed it's "To minimum balance/Maximum credit" as ($5000.73) somehow. Looking in the .xml file I see accounts I added previously and set limits on have a negative maxCreditAbsolute, but this new one I just created in 5.1.x has a positive maxCreditAbsolute. Should that value be positive or negative? I also notice accounts with the negative values there don't show any values if I look at the "Limits" tab on the Edit Account dialog. I think either: All credit accounts need to have either positive or negative limits, and the gui needs to reflect what the value is, even if negative. or The calculation of "To minimum balance/Maximum credit" is backwards somehow. Not sure which, or when it changed/broke. I think it used to work fine in 5.0/4.x days. If it makes sense I can add a bug to bugzilla. Just wanted to get some feedback on if both negative and positive limits are expected, etc. first. BR, Jeremy Whiting --000000000000fe5feb05c5fea6ad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Bee= n using KMM for years. I recently updated my windows installation from 5.0.= x to 5.1.2 and added some new credit accounts to it and noticed some strang= eness on the home screen. When I added a 75 cent charge to one new account = that had a limit set of $5000 the home screen showed it's "To mini= mum balance/Maximum credit" as ($5000.73) somehow. Looking in the .xml= file I see accounts I added previously and set limits on have a negative m= axCreditAbsolute, but this new one I just created in 5.1.x has a positive m= axCreditAbsolute. Should that value be positive or negative? I also notice = accounts with the negative values there don't show any values if I look= at the "Limits" tab on the Edit Account dialog.

I think either:

All credit accounts need= to have either positive or negative limits, and the gui needs to reflect w= hat the value is, even if negative.

or

The calculation of "To minimum balance/Maximum credit&quo= t; is backwards somehow.

Not sure which, or when it changed/broke. I think it used to wo= rk fine in 5.0/4.x days.

If it makes sense I can add a bug to bugzilla. Just wanted to g= et some feedback on if both negative and positive limits are expected, etc.= first.
<= br>
BR,
Jeremy Whi= ting
--000000000000fe5feb05c5fea6ad--