-
-
Notifications
You must be signed in to change notification settings - Fork 393
1.30: Balance assertion fails when cost is included #2137
Copy link
Copy link
Closed
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..duplicatejournalThe journal file format, and its features.The journal file format, and its features.regressionA backwards step, indicating a weakness in our QA. We don't like these.A backwards step, indicating a weakness in our QA. We don't like these.
Description
Metadata
Metadata
Assignees
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..duplicatejournalThe journal file format, and its features.The journal file format, and its features.regressionA backwards step, indicating a weakness in our QA. We don't like these.A backwards step, indicating a weakness in our QA. We don't like these.
When using balance assertion (
=) for accounts that contains amounts with costs (@), thebalancereport fails.Steps to Reproduce
hledger -f example.txt balExpected Result
The command finishes without errors, and it prints the correct amount for each account.
Current Result
The following error is thrown:
Notes
ABCare the same, then the command works (i.e., update line 9 to have10 ABC @ 1.00 MXN)