Outils pour utilisateurs

Outils du site


odoo:wkhtml

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
odoo:wkhtml [2022/12/16 20:00] rootodoo:wkhtml [2023/02/21 12:34] (Version actuelle) root
Ligne 1: Ligne 1:
 +====== Install ======
 +
 <code bash>apt-get install -y xfonts-75dpi xfonts-base <code bash>apt-get install -y xfonts-75dpi xfonts-base
 wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb
Ligne 4: Ligne 6:
  
 </code> </code>
 +
 +
 +====== PDF generation too long and faulty on Odoo12 - solution! ======
 +
 +1) Go to the Backend part of your Odoo12 and activate the developer mode.
 +2) Go to the "Configuration" section. Then the "Technical" tab and click on "System Settings" at the bottom of the drop-down menu.
 +3) Click on the "Create" button
 +4) In the "Key" field, put "report.url" and in the "Value" field, "http://0.0.0.0:8069". Then save.
 +5) Re-click the "Create" button
 +6) In the "Key" field, put "web.base.url.freeze" and in the "Value" field, "True". Then save.
 +7) Go to the terminal of your Odoo 12 server
 +8) Start this command "service odoo restart"
 +9) Test the PDF generation of Odoo 12. (by printing an article, an estimate or an invoice ...)
odoo/wkhtml.1671220813.txt.gz · Dernière modification : de root