r20789 - gnucash/branches/2.4/src/report/standard-reports - [20784] Bug #632931 - Advanced Portfolio: new income column shows negative amount Patch by Sebastien Alborini BP

Christian Stimming cstim at code.gnucash.org
Tue Jun 21 06:04:53 EDT 2011


Author: cstim
Date: 2011-06-21 06:04:52 -0400 (Tue, 21 Jun 2011)
New Revision: 20789
Trac: http://svn.gnucash.org/trac/changeset/20789

Modified:
   gnucash/branches/2.4/src/report/standard-reports/advanced-portfolio.scm
Log:
[20784] Bug #632931 - Advanced Portfolio: new income column shows negative amount Patch by Sebastien Alborini BP

Original commit by gjanssens.

Modified: gnucash/branches/2.4/src/report/standard-reports/advanced-portfolio.scm
===================================================================
--- gnucash/branches/2.4/src/report/standard-reports/advanced-portfolio.scm	2011-06-21 10:04:42 UTC (rev 20788)
+++ gnucash/branches/2.4/src/report/standard-reports/advanced-portfolio.scm	2011-06-21 10:04:52 UTC (rev 20789)
@@ -545,7 +545,7 @@
 
 				     (if (gnc-numeric-zero-p dividend-rein)
 					 ;; no reinvested dividend, return just the income split
-					 (xaccSplitGetValue s)
+					 dividend-income
 					 ;; dividend reinvested so
 					 ;; apply the ratio to the
 					 ;; dividend and return it for



More information about the gnucash-changes mailing list