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
Prochaine révision
Révision précédente
odoo:wkhtml [2021/12/24 14:43] rootodoo:wkhtml [2023/02/21 12:34] (Version actuelle) root
Ligne 1: Ligne 1:
-<code bash>apt-get install -y openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig xfonts-75dpi+====== Install ====== 
 + 
 +<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
 dpkg -i wkhtmltox_0.12.6-1.buster_amd64.deb dpkg -i wkhtmltox_0.12.6-1.buster_amd64.deb
  
 </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.1640357025.txt.gz · Dernière modification : (modification externe)