[PR #5807] fix: losing transaction amount decimals on update #20496

Closed
opened 2026-04-14 21:38:51 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/5807

State: closed
Merged: Yes


Fixes https://github.com/actualbudget/actual/issues/3294

Transaction amount was being updated even when debit and credit are not specifically updated. This is not a problem in general but when decimals are hidden now the serialized transaction is missing decimals. So if we don't use original amount, it also removes the decimals on any update, such as changing notes, cleared, etc.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/5807 **State:** closed **Merged:** Yes --- <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> Fixes https://github.com/actualbudget/actual/issues/3294 Transaction amount was being updated even when `debit` and `credit` are not specifically updated. This is not a problem in general but when decimals are hidden now the serialized transaction is missing decimals. So if we don't use original amount, it also removes the decimals on any update, such as changing notes, cleared, etc.
GiteaMirror added the pull-request label 2026-04-14 21:38:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#20496