From 70f883329f2e65c23cdf95c9885d43f58cee94cb Mon Sep 17 00:00:00 2001 From: ced <> Date: Tue, 20 Nov 2007 07:30:38 +0000 Subject: [PATCH] Fix barcode on report and re-enable "Products Labels" bzr revid: ced-eb9437d6e34a98723b1435825e439f790d69a5c7 --- bin/report/render/rml2pdf/trml2pdf.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/report/render/rml2pdf/trml2pdf.py b/bin/report/render/rml2pdf/trml2pdf.py index 686c6482e25..5ffdfe6519a 100755 --- a/bin/report/render/rml2pdf/trml2pdf.py +++ b/bin/report/render/rml2pdf/trml2pdf.py @@ -488,12 +488,12 @@ class _rml_flowable(object): return platypus.Paragraph(self._textual(node), style, **(utils.attr_get(node, [], {'bulletText':'str'}))) elif node.localName=='barCode': try: - from reportlab.extensions.barcode import code128 - from reportlab.extensions.barcode import code39 - from reportlab.extensions.barcode import code93 - from reportlab.extensions.barcode import common - from reportlab.extensions.barcode import fourstate - from reportlab.extensions.barcode import usps + from reportlab.graphics.barcode import code128 + from reportlab.graphics.barcode import code39 + from reportlab.graphics.barcode import code93 + from reportlab.graphics.barcode import common + from reportlab.graphics.barcode import fourstate + from reportlab.graphics.barcode import usps except Exception, e: print 'Warning: Reportlab barcode extension not installed !' return None