r16149 - gnucash/trunk/src/report/standard-reports - Show price scatterplot if the source is the price db and no account has shares.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Jun 3 15:43:37 EDT 2007


Author: andi5
Date: 2007-06-03 15:43:35 -0400 (Sun, 03 Jun 2007)
New Revision: 16149
Trac: http://svn.gnucash.org/trac/changeset/16149

Modified:
   gnucash/trunk/src/report/standard-reports/price-scatter.scm
Log:
Show price scatterplot if the source is the price db and no account has shares.


Modified: gnucash/trunk/src/report/standard-reports/price-scatter.scm
===================================================================
--- gnucash/trunk/src/report/standard-reports/price-scatter.scm	2007-06-02 19:00:41 UTC (rev 16148)
+++ gnucash/trunk/src/report/standard-reports/price-scatter.scm	2007-06-03 19:43:35 UTC (rev 16149)
@@ -212,7 +212,8 @@
     (if 
      (not (gnc-commodity-equiv report-currency price-commodity))
      (begin
-       (if (not (null? currency-accounts))
+       (if (or (not (null? currency-accounts))
+               (eq? price-source 'pricedb))
            (set!
             data
             (case price-source



More information about the gnucash-changes mailing list