summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorChristoph Dittmann <github@christoph-d.de>2018-06-17 11:23:31 +0100
committerMartin Michlmayr <tbm@cyrius.com>2019-01-25 18:31:16 -0300
commit6828b8e89bdd9328c81e81e98088143786559976 (patch)
tree1c7d56928c9fc964b10c2980a6cc9ffbf9c43b42 /test/regress
parent0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948 (diff)
downloadfork-ledger-6828b8e89bdd9328c81e81e98088143786559976.tar.gz
fork-ledger-6828b8e89bdd9328c81e81e98088143786559976.tar.bz2
fork-ledger-6828b8e89bdd9328c81e81e98088143786559976.zip
Expose post_t::given_cost over python
This fixes #1655 by making the post_t::given_cost variable accessible over python. This allows access to the given cost of a posting. For example, here it will be "-2 EUR": A -2 XXX {1 EUR} [2018-01-01] @@ 2 EUR If a per-unit cost is given, the given_cost variable will still contain the cost of the posting. For example, here it will be "-4 EUR": B -2 XXX {1 EUR} [2018-01-01] @ 2 EUR
Diffstat (limited to 'test/regress')
0 files changed, 0 insertions, 0 deletions