PATCH: Advanced portfolio report revisions

Neilgn neilgn at gmail.com
Thu Dec 13 14:56:08 EST 2007


How do you use a patch.  I can find the file on my computer and see the code,
but what do I do with the patch?

Neilgn


Hi guys, 

Attached here is a patch to the advanced portfolio report. 


Index: src/report/standard-reports/advanced-portfolio.scm
===================================================================
--- src/report/standard-reports/advanced-portfolio.scm	(revision 16594)
+++ src/report/standard-reports/advanced-portfolio.scm	(working copy)
@@ -41,7 +41,7 @@
 (define optname-price-source (N_ "Price Source"))
 (define optname-shares-digits (N_ "Share decimal places"))
 (define optname-zero-shares (N_ "Include accounts with no shares"))
-(define optname-include-gains (N_ "Include gains and losses"))
+;;(define optname-include-gains (N_ "Include gains and losses"))
 (define optname-show-symbol (N_ "Show ticker symbols"))
 (define optname-show-listing (N_ "Show listings"))
 (define optname-show-price (N_ "Show prices"))
@@ -103,12 +103,13 @@
       #t))
 
 
-    (gnc:register-option 
-     options 
-     (gnc:make-simple-boolean-option
-      gnc:pagename-general optname-include-gains "g" 
-      (N_ "Include splits with no shares for calculating money-in and
money-out")
-      #f))
+;; this option is currently unimplemented
+;;    (gnc:register-option 
+;;     options 
+;;     (gnc:make-simple-boolean-option
+;;      gnc:pagename-general optname-include-gains "g" 
+;;      (N_ "Include splits with no shares for calculating money-in and
money-out")
+;;      #f))
 
-- 
View this message in context: http://www.nabble.com/PATCH%3A-Advanced-portfolio-report-revisions-tp14143911p14323484.html
Sent from the GnuCash - Dev mailing list archive at Nabble.com.



More information about the gnucash-devel mailing list