From 3fb7490bc91e65050e090ab7fa2dcae230d1697e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 20 Mar 2012 05:03:18 -0500 Subject: Never output calculate commodity valuation expressions --- src/post.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/post.cc') 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); -- cgit v1.2.3