[portfolio] there's no report-currency. use currency.

This commit is contained in:
Christopher Lam 2019-09-24 23:03:27 +08:00
parent ee260d8e3a
commit 298724dd93

View File

@ -196,7 +196,7 @@
(if (not (null? accounts))
(let* ((commodity-list (gnc:accounts-get-commodities
(gnc:accounts-and-all-descendants accounts)
report-currency))
currency))
(pricedb (gnc-pricedb-get-db (gnc-get-current-book)))
(exchange-fn (gnc:case-exchange-fn price-source currency to-date))
(price-fn