Commit Graph

4 Commits

Author SHA1 Message Date
Simon Michael
5b6dbe86b3 close: don't strip decimal zeros, causing misparsing (fix #1137) 2019-11-30 16:58:54 -08:00
Simon Michael
6c2398e4d7 close: preserve transaction prices (costs) accurately (#1035)
Transaction prices were being collapsed/misreported after close/open;
this is fixed. Now each separately-priced amount gets its own posting,
and only the last of these (for each commodity) gets a balance
assertion. Also the equity posting's amount is now always shown
explicitly, which in multicommodity situations means that multiple
equity postings are shown. The upshot is that a balance -B report
will be unchanged after closing & opening transactions.
2019-07-09 11:21:22 +01:00
Simon Michael
3059a0b2ca ;close: tests: convert to new format
[ci skip]
2019-07-08 08:57:45 +01:00
Simon Michael
ec56c45c6b ;tests: flatten functional test files a bit
[ci skip]
2019-07-08 08:28:03 +01:00