Im using odoo v10 on linux server.
Im in a producto and go to action->label product and if I select the report as HTML it work OK, but if I select the report as PDF the barcode is missing.
The report in PDF is generated but the Barcode is Missing.
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
Im using odoo v10 on linux server.
Im in a producto and go to action->label product and if I select the report as HTML it work OK, but if I select the report as PDF the barcode is missing.
The report in PDF is generated but the Barcode is Missing.
My problem was with the report and path to generated:
This is a problem when you are behind a proxy, in your case NGNIX. But I can fix it following steps:
I resolved to doing:
1- Add the following line inside odoo/addons/report/models/report.py file line number 205:
#base_url = irconfig_obj.get_param('report.url') or irconfig_obj.get_param('web.base.url')
base_url = irconfig_obj.get_param('web.base.url.report')
2- Add the server parameter web.base.url.report with value "http://127.0.0.1:8069" (Running Port).
(With the Debug Actived) Go to Settings -> Parameters -> System -> Parameters -> Create
3- Restart the Odoo Server and It will work.
/etc/init.d/odoo restart
Reference: github.com/odoo/odoo/issues/1105
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|  | 1 cze 24  | 1773 | ||
|  | 2 paź 23  | 7029 | ||
|  | 2 lis 22  | 7491 | ||
|  | 0 wrz 21  | 3510 | ||
|  | 4 sie 20  | 8446 | 
Which version of Wkhtmltopdf are you using?