mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Advanced Portfolio: Use the more common LIFO name for the basis method.
Don't change the internal code to avoid invalidating saved reports. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23714 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -95,8 +95,8 @@
|
||||
(N_ "FIFO")
|
||||
(N_ "Use first-in first-out method for basis."))
|
||||
(vector 'filo-basis
|
||||
(N_ "FILO")
|
||||
(N_ "Use first-in last-out method for basis."))
|
||||
(N_ "LIFO")
|
||||
(N_ "Use last-in first-out method for basis."))
|
||||
)))
|
||||
|
||||
(add-option
|
||||
@@ -226,7 +226,7 @@
|
||||
)
|
||||
)
|
||||
|
||||
;; this builds a list for basis calculation and handles average, fifo and filo methods
|
||||
;; this builds a list for basis calculation and handles average, fifo and lifo methods
|
||||
;; the list is cons cells of (units-of-stock . price-per-unit)... average method produces only one
|
||||
;; cell that mutates to the new average. Need to add a date checker so that we allow for prices
|
||||
;; coming in out of order, such as a transfer with a price adjusted to carryover the basis.
|
||||
|
||||
Reference in New Issue
Block a user