Added debug print for commodity.prices.find
This commit is contained in:
parent
fa36fef4fa
commit
9ce498f890
1 changed files with 2 additions and 0 deletions
|
|
@ -747,6 +747,8 @@ amount_t::value(const optional<datetime_t>& moment,
|
||||||
if (annotation().has_flags(ANNOTATION_PRICE_FIXATED)) {
|
if (annotation().has_flags(ANNOTATION_PRICE_FIXATED)) {
|
||||||
point = price_point_t();
|
point = price_point_t();
|
||||||
point->price = *annotation().price;
|
point->price = *annotation().price;
|
||||||
|
DEBUG("commodity.prices.find",
|
||||||
|
"amount_t::value: fixated price = " << point->price);
|
||||||
}
|
}
|
||||||
else if (! comm) {
|
else if (! comm) {
|
||||||
comm = annotation().price->commodity();
|
comm = annotation().price->commodity();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue