Sunday, 2 August 2015

Odoo/OpenERP: Picking List printing blank barcode?

Are you facing a problem with bar-code in picking list. Is it displaying nothing?

Reason is: Odoo uses reportlab to print barcode images and reason of showing blank barcode means reportlab fonts are missing.

Follow following steps to install reportlab fonts:

1. Login to your server as root user.

2. Open terminal and go to location: '/usr/lib/python2.7/dist-packages/reportlab/'

Check if 'fonts' directory is there? If not, create it.

3. Go to 'fonts' folder and Download Zip file from here: http://www.reportlab.com/ftp/pfbfer.zip

i.e $ wget http://www.reportlab.com/ftp/pfbfer.zip

extract it and delete pfbfer.zip 

4. Restart your server.

That's it.


Thanks!!!!!!!! Enjoy Programming!!! :)


Reference Links:

https://github.com/odoo/odoo/issues/3234
 

3 comments:

  1. /usr/lib/python2.7/dist-packages/reportlab/
    Please write the full path

    ReplyDelete
    Replies
    1. It's full path only. Which OS and python version you are working with?

      Delete
    2. mine is Win 7. can't solve the problem.

      Delete

Thanks for your valuable comments.

Nginx: Cannot allocate memory