diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-20 05:03:18 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-20 05:03:18 -0500 |
commit | 3fb7490bc91e65050e090ab7fa2dcae230d1697e (patch) | |
tree | 189ff9c8ac686d49774ab9ff5feb3f8f5aefff69 /src/post.cc | |
parent | e3248ee5a6b2c29e1c35eb0315fd66370a117784 (diff) | |
download | fork-ledger-3fb7490bc91e65050e090ab7fa2dcae230d1697e.tar.gz fork-ledger-3fb7490bc91e65050e090ab7fa2dcae230d1697e.tar.bz2 fork-ledger-3fb7490bc91e65050e090ab7fa2dcae230d1697e.zip |
Never output calculate commodity valuation expressions
Diffstat (limited to 'src/post.cc')
-rw-r--r-- | src/post.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/post.cc b/src/post.cc index d5e0d9bc..2b84fc06 100644 --- a/src/post.cc +++ b/src/post.cc @@ -688,6 +688,7 @@ void extend_post(post_t& post, journal_t& journal) if (! details) { annotation_t new_details; new_details.value_expr = value_expr; + commodity_t * new_comm = commodity_pool_t::current_pool->find_or_create(comm, new_details); post.amount.set_commodity(*new_comm); |