mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-07-29 23:58:03 -05:00
Don't get stock quotes for accounts where all the shares have all been
sold. #95547 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7458 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -315,7 +315,8 @@
|
||||
(define (quotable-account? a)
|
||||
(let ((type (gw:enum-<gnc:AccountType>-val->sym (gnc:account-get-type a)
|
||||
#f))
|
||||
(src (gnc:account-get-price-src a)))
|
||||
(src (gnc:account-get-price-src a))
|
||||
(balance (not (gnc:numeric-zero-p (gnc:account-get-balance a)))))
|
||||
|
||||
(if (not type) (set! type '()))
|
||||
(if (symbol? type) (set! type (list type)))
|
||||
|
||||
Reference in New Issue
Block a user