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] – modification externe 127.0.0.1odoo:wkhtml [2026/03/06 11:15] (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 Odoo 19 Debian 13 ====== 
 + 
 +<code bash>apt-get install -y xfonts-75dpi xfonts-base 
 +   wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb 
 +   apt install ./wkhtmltox_0.12.6.1-3.bookworm_amd64.deb 
 + 
 +</code> 
 + 
 +====== Install ancienne version ====== 
 + 
 +<code bash>apt-get install -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>
 +
 +
 +====== Report Url à configurer ======
 +
 +Dans technique - paramètres systèmes ajouter une clé 
 +"report.url" renvoyant vers l'adresse hors reverse proxy de l'hote. Ex: http://10.20.52.101:8069
 +
 +====== 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.1640357026.txt.gz · Dernière modification : de 127.0.0.1