[budget-flow] fixcrash: exchange-fn needs to specify exchange date

because some exchange-fn *do* require date eg. pricedb-nearest. use
the period end-date for the exchange date.
pull/587/head
Christopher Lam 7 years ago
parent 3452c33cdf
commit 34c677d70d

@ -276,7 +276,8 @@
;; calculate the exchange rates
(exchange-fn (gnc:case-exchange-fn
price-source report-currency #f))
price-source report-currency
(gnc-budget-get-period-end-date budget period)))
;; The HTML document
(doc (gnc:make-html-document)))

Loading…
Cancel
Save