he issue where the footer and header do not appear in reports generated by wkhtmltopdf when used in Odoo is a common one. Here are a few steps you can take to troubleshoot and potentially solve this issue: Check Version Compatibility: Ensure that the version of wkhtmltopdf you are using is compatible with your version of Odoo. Odoo usually works best with specific versions of wkhtmltopdf, often detailed in the Odoo documentation or on forums related to Odoo. wkhtmltopdf Binary Path: Verify that the binary path for wkhtmltopdf is correctly set in your Odoo configuration file (odoo.conf). It should look something like this: [options] ; This is the correct path to the wkhtmltopdf executable wkhtmltopdf = /path/to/wkhtmltopdf
Quick Create Module - vscode extension install from the vscode extension store right click a folder in explorer select "Create Module Here" select file extension select module type give the new module a name
Hi mate, Could you please help to resolve the error below? Thanks. odoo.addons.base.models.ir_actions_report: wkhtmltopdf: Exit with code 1 due to network error: RemoteHostClosedError
sorry for late reply, was just out The error message "wkhtmltopdf: Exit with code 1 due to network error: RemoteHostClosedError" indicates that wkhtmltopdf is experiencing issues when trying to access remote resources, such as CSS files, JavaScript, or images, needed to render the PDF. This can happen for a variety of reasons related to network settings, resource availability, or server configurations. Check Resource Accessibility: Ensure that all external resources (like CSS or images) used in your PDF templates are accessible from the server where wkhtmltopdf is running. This includes checking URLs and ensuring no firewall or network settings are blocking access. Network Configuration: Review your server's network configuration. Ensure that there are no DNS resolution issues or restrictions that might prevent wkhtmltopdf from accessing external resources.
please help i did all steps but the footer and header of the report not appear
he issue where the footer and header do not appear in reports generated by wkhtmltopdf when used in Odoo is a common one. Here are a few steps you can take to troubleshoot and potentially solve this issue:
Check Version Compatibility: Ensure that the version of wkhtmltopdf you are using is compatible with your version of Odoo. Odoo usually works best with specific versions of wkhtmltopdf, often detailed in the Odoo documentation or on forums related to Odoo.
wkhtmltopdf Binary Path: Verify that the binary path for wkhtmltopdf is correctly set in your Odoo configuration file (odoo.conf). It should look something like this:
[options]
; This is the correct path to the wkhtmltopdf executable
wkhtmltopdf = /path/to/wkhtmltopdf
thank for your tip
you are most welcom Kaviya
how to create new module in vscode
Quick Create Module - vscode extension install from the vscode extension store
right click a folder in explorer
select "Create Module Here"
select file extension
select module type
give the new module a name
@@odooistic thank you sir
You are most welcome
thank you
You're most welcome
Hi mate,
Could you please help to resolve the error below? Thanks.
odoo.addons.base.models.ir_actions_report: wkhtmltopdf: Exit with code 1 due to network error: RemoteHostClosedError
sorry for late reply, was just out
The error message "wkhtmltopdf: Exit with code 1 due to network error: RemoteHostClosedError" indicates that wkhtmltopdf is experiencing issues when trying to access remote resources, such as CSS files, JavaScript, or images, needed to render the PDF. This can happen for a variety of reasons related to network settings, resource availability, or server configurations.
Check Resource Accessibility:
Ensure that all external resources (like CSS or images) used in your PDF templates are accessible from the server where wkhtmltopdf is running. This includes checking URLs and ensuring no firewall or network settings are blocking access.
Network Configuration:
Review your server's network configuration. Ensure that there are no DNS resolution issues or restrictions that might prevent wkhtmltopdf from accessing external resources.