Saturday, June 10, 2017

Barcode Not Print Qweb PDF Odoo

For Print Barcode require reportlab fonts to be installed in python package.
Below steps to install Reportlab Fonts with python.

1. Download ZIP and extract http://www.reportlab.com/ftp/pfbfer.zip
2. Create folder named "fonts" in " /usr/lib/python2.7/dist-packages/reportlab/"
3. Copy content of folder extracted in "fonts" folder
4. Restart Odoo server

Lessc Error In Odoo9/Odoo10

Odoo 9 and Odoo 10 require Less Css to be intstalled. Here are steps to install Less.

1. sudo npm install -g less less-plugin-clean-css
Above command require npm install in system. You can install it by apt-get install npm

2. sudo apt install nodejs-legacy

3. sudo ln -s /usr/local/bin/lessc /usr/bin/lessc

4. sudo apt-mark hold node-less

Restart Odoo Service and Its Done.