Ivy-Apps / ivy-wallet

Ivy Wallet is an open-source money manager app for android that you can either build or download from Google Play.
https://play.google.com/store/apps/details?id=com.ivy.wallet
GNU General Public License v3.0
2.46k stars 559 forks source link

[BUG] Incorrect balance after Adjust balance #3166

Open zatsepinvl opened 2 months ago

zatsepinvl commented 2 months ago

Please confirm the following

Describe the bug

When clicked on existing balance and adjusted it in place, the resulting value is incorrect. The account exists for more than 1 year and contains hundreds transactions. Default currency is EUR.

To Reproduce

  1. Click on the account balance RSD 105,500.00
  2. Change value to 105,000.00
  3. Save
  4. Balance is 151,643.18
  5. Transaction added 46,143.18

Expected behavior

Balance to be 105,000.00 Transaction to be 500

Screenshots

No response

App version

4.6.3

Smartphone

Xiomi mi 14

Additional context

Observed behaviour:

  1. Works OK with new account created.
  2. Does not work (as described) with existing accounts
  3. Setting exchange rate manually doesn't make any effect.
ivywallet commented 2 months ago

Thank you @zatsepinvl for raising Issue #3166! 🚀 What's next? Read our Contribution Guidelines 📚.

Tagging @ILIYANGERMANOV for review & approval 👀

zatsepinvl commented 2 months ago

UPD Found out, that the same happens even with just change the account name: random transaction with strange amount appears.