Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Print Lot Barcode has blank barcode

By
The Dude
on 2/14/16, 11:10 PM 390 views

I need help troubleshooting the missing barcodes on the print-> Lot Barcode in Warehouse->serial numbers. I had it working a while ago and I think some ubuntu update might have broken it. I have barcodes working in product labels, just not in the lot barcode. I believe this is using webkit reports and call wkhtmltopdf. I made sure I have wkhtmltopdf 12.2.1 and it's located in /usr/local/bin and also in /usr/bin. I made sure I have the code 128 fonts installed in the reportlab fonts folder. I rebooted the server, restarted odoo, etc. The only other thing I can think of is I put the server behind apache to enable ssl, but if I connect directly to the server over the lan on port 8069(bypassing apache) it still has the same problem. When I cange the system parameter

web_base_ url for https://mydomain:8069 back to http://mydomain:8069, the barcodes work again. HELP!!! :)

I'm getting some errors in the file /var/log/odoo/odoo-server.log too

2016-02-15 04:03:10,137 1458 INFO production werkzeug: 127.0.0.1 - - [15/Feb/201

6 04:03:10] "POST /report/check_wkhtmltopdf HTTP/1.1" 200 -

2016-02-15 04:03:10,710 1458 ERROR ? werkzeug: 127.0.0.1 - - [15/Feb/2016 04:03:

10] code 400, message Bad request version ('P\xac\xfc<\x8be\xf1\x00\x00\x88\xc00

\xc0,\xc0(\xc0$\xc0\x14\xc0')

2016-02-15 04:03:10,711 1458 INFO ? werkzeug: 127.0.0.1 - - [15/Feb/2016 04:03:1

0] "^V^C^A^A?^A^@^A;^C^CQ<94><A1>H<F3><E2>G<B3>=^U^K<E6>r^?u"<DE>D<AB>";<9B>^MP

<AC><FC><<8B>e<F1>^@^@<88><C0>0<C0>,<C0>(<C0>$<C0>^T<C0>" 400 -

2016-02-15 04:03:10,712 1458 ERROR ? werkzeug: 127.0.0.1 - - [15/Feb/2016 04:03:

10] code 400, message Bad request syntax ('\x16\x03\x01\x01?\x01\x00\x01;\x03\x0

3\xb4P\xf1\xbd;w\x0bu:]`\x0e\xdb!\xc4!q\x0b\xda< \xffT\xb9T\xc2\xa99\xcd\xb8\xa7

#\x00\x00\x88\xc00\xc0,\xc0(\xc0$\xc0\x14\xc0')

0
The Dude
On 2/15/16, 11:33 AM

Nevermind. I fixed it by removing the port from web_base_url. It should read https://mydomain

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/14/16, 11:10 PM
Seen: 390 times
Last updated: 2/15/16, 11:33 AM