firefly-iii / firefly-iii

Firefly III: a personal finances manager
https://firefly-iii.org/
GNU Affero General Public License v3.0
16.34k stars 1.48k forks source link

Weird amount due in Liabilities list #7810

Closed stuzer05 closed 1 year ago

stuzer05 commented 1 year ago

Support guidelines

I've found a bug and checked that ...

Description

I have a liability account where I loan money to a person. I transfer from my asset account to liability account thus managing my finances. The initial dept in liability account was 0.

These are all transactions. "John" is a debtor. He has 2 account in different currencies. image

As the arrow shows, dept is currently 0, which is true. However, if go to liabilities list, I see $400 in amount due. What is the reason for that? image

Same problem with his another account.

Debug information

Debug information generated at 2023-08-01 18:27:42 UTC for Firefly III version 6.0.19.

Scope Version
Firefly III 6.0.19
Firefly III API 2.0.4
Build 553, 28-07-2023 14:22:29 UTC
Base Build 13, 26-07-2023 07:34:31 CEST
DB version 19 (exp. 19)
PHP 8.2.8
Host Linux
System info Value
System TZ
Browser TZ Europe/Uzhgorod
App environment local
App debug mode false
App cache driver file
App logging info, stack
Display errors Off
Error reporting ALL errors
Max upload 67108864 (64 MB)
Interface apache2handler
Default language en_US
Default locale equal
BCscale 12
DB drivers mysql, pgsql, sqlite
Current driver mysql
Trusted proxies (.env) **
User info Value
Login provider eloquent
User guard web
Headers N/A, N/A
Stateful domains
Session start 2021-10-23 18:09:34
Session end 2023-08-01 18:09:34
Session first 2021-10-23 00:00:00
User ID 1
User language en_US
User locale en_US
Attempt at "en_US.utf8" 'en_US.utf8'
Attempt at "en_US.UTF-8" 'en_US.UTF-8'
User agent Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Expected behaviour

Amount due in the list should be 0 as in detailed review on top of the graph.

Steps to reproduce

No response

Additional info

No response

JC5 commented 1 year ago

However, if go to liabilities list, I see $400 in amount due. What is the reason for that?

I have no clue. I can't tell from the data you're showing me. Are you using multi-currency transactions, or are the transactions exclusively in one currency?

stuzer05 commented 1 year ago

I used only single-currency transactions between liability accounts and asset accounts. Except for once, when I made one transaction between liability accounts in different currency (to convert the dept)

JC5 commented 1 year ago

Nice find, it's a bug. I've fixed it for the next release :+1:

stuzer05 commented 1 year ago

Nice find, it's a bug. I've fixed it for the next release +1

Awesome! Thank you for your work!

github-actions[bot] commented 1 year ago

Hi there! This is an automatic reply. Share and enjoy

This issue is now 🔒 closed. Please be aware that closed issues are not watched.

Thank you for your contributions.