Showing posts with label barcode. Show all posts
Showing posts with label barcode. Show all posts

Tuesday, 12 July 2016

Odoo Barcode Print



Barcode not getting printed on reports..

May have library issue follow the  following step :



Download and extract  : http://www.reportlab.com/ftp/pfbfer.zip

Create a folder named “fonts” under : (from command line)
/usr/lib/python2.7/dist-packages/reportlab/

$ cd /usr/lib/python2.7/dist-packages/reportlab/
$ sudo mkdir fonts

Move all the *.pfb files and paste into this folder (fonts) (from command line)

Go to extracted folder : $ sudo mv *.pfb /usr/lib/python2.7/dist-packages/reportlab/fonts


..Enjoy..

Monday, 23 April 2012

OpenERP Barcode Generate

Use Barcode in OpenERP report.

paste the folowing code in .rml file instead of barcode
<barCode code="code128" quiet="9" fontName="Times-Roman" fontSize="50" alignment="CENTER"> [[ tracking_ids.serial or '' ]] </barCode>