Remove hack for fixed bug #573645 which was fixed in r18056.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22142 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Evans
2012-04-09 15:29:15 +00:00
parent be43cb7cda
commit 0eb2c2b30e

View File

@@ -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