Reports: Make "Average Cost" the default price source for several additional standard reports.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17341 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Charles Day
2008-07-16 15:55:50 +00:00
parent 5931d415ff
commit 4ba416f35b
6 changed files with 8 additions and 8 deletions

View File

@@ -100,7 +100,7 @@ balance at a given time"))
(gnc:options-add-price-source!
options gnc:pagename-general
optname-price-source "c" 'weighted-average)
optname-price-source "c" 'average-cost)
(add-option
(gnc:make-account-list-option
@@ -238,8 +238,8 @@ balance at a given time"))
;; Future improvement: Let the user choose which kind of
;; currency combining she want to be done. Right now
;; everything foreign gets converted
;; (gnc:sum-collector-commodity) based on the weighted
;; average of all past transactions.
;; (gnc:sum-collector-commodity) based on the average
;; cost of all holdings.
(gnc-numeric-to-double
(gnc:gnc-monetary-amount
(gnc:sum-collector-commodity

View File

@@ -188,7 +188,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'weighted-average)
optname-price-source "b" 'average-cost)
(add-option
(gnc:make-simple-boolean-option

View File

@@ -207,7 +207,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'weighted-average)
optname-price-source "b" 'average-cost)
(add-option
(gnc:make-simple-boolean-option

View File

@@ -68,7 +68,7 @@
;; optname-from-date optname-to-date "a")
(gnc:options-add-price-source!
options gnc:pagename-general optname-price-source "c" 'weighted-average)
options gnc:pagename-general optname-price-source "c" 'average-cost)
;;(gnc:register-option
;; options

View File

@@ -144,7 +144,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'weighted-average)
optname-price-source "b" 'average-cost)
(add-option
(gnc:make-simple-boolean-option

View File

@@ -181,7 +181,7 @@
(gnc:options-add-price-source!
options pagename-commodities
optname-price-source "b" 'weighted-average)
optname-price-source "b" 'average-cost)
(add-option
(gnc:make-simple-boolean-option