mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[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.
This commit is contained in:
parent
3452c33cdf
commit
34c677d70d
@ -276,7 +276,8 @@
|
|||||||
|
|
||||||
;; calculate the exchange rates
|
;; calculate the exchange rates
|
||||||
(exchange-fn (gnc:case-exchange-fn
|
(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
|
;; The HTML document
|
||||||
(doc (gnc:make-html-document)))
|
(doc (gnc:make-html-document)))
|
||||||
|
Loading…
Reference in New Issue
Block a user