r22142 - gnucash/trunk/src/report/business-reports - Remove hack for fixed bug #573645 which was fixed in r18056.

Mike Evans mikee at code.gnucash.org
Mon Apr 9 11:29:16 EDT 2012


Author: mikee
Date: 2012-04-09 11:29:15 -0400 (Mon, 09 Apr 2012)
New Revision: 22142
Trac: http://svn.gnucash.org/trac/changeset/22142

Modified:
   gnucash/trunk/src/report/business-reports/taxinvoice.eguile.scm
Log:
Remove hack for fixed bug #573645 which was fixed in r18056.

Modified: gnucash/trunk/src/report/business-reports/taxinvoice.eguile.scm
===================================================================
--- gnucash/trunk/src/report/business-reports/taxinvoice.eguile.scm	2012-04-09 15:23:40 UTC (rev 22141)
+++ gnucash/trunk/src/report/business-reports/taxinvoice.eguile.scm	2012-04-09 15:29:15 UTC (rev 22142)
@@ -96,12 +96,7 @@
             (if taxable? ; Also check if the taxable flag is set
               (if  (not (eq? taxtable '()))
               (begin ; presence of a tax table AND taxable flag means it's taxed
-                (set! tax? #t)
-                (let ((ttentries (gncTaxTableGetEntries taxtable)))
-                  (if (string-prefix? "#<swig-pointer PriceList" (object->string ttentries))
-                    ; error in SWIG binding -- disable display of tax details
-                    ; (see http://bugzilla.gnome.org/show_bug.cgi?id=573645)
-                    (set! taxtables? #f)))))))) ; hack required until Swig is fixed (fixed in r18056, hack still here)
+                (set! tax? #t))))))
 
       ; pre-scan invoice splits to see if any payments have been made
       (for split in splits do



More information about the gnucash-changes mailing list