How to resolve wkhtmltopdf issue in odoo

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น • 12

  • @sanamohammed9622
    @sanamohammed9622 8 หลายเดือนก่อน

    please help i did all steps but the footer and header of the report not appear

    • @odooistic
      @odooistic  8 หลายเดือนก่อน

      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

  • @kaviyaloganathan5289
    @kaviyaloganathan5289 2 ปีที่แล้ว +2

    thank for your tip

    • @odooistic
      @odooistic  2 ปีที่แล้ว

      you are most welcom Kaviya

  • @AmirAli-tl4sg
    @AmirAli-tl4sg 2 ปีที่แล้ว

    how to create new module in vscode

    • @odooistic
      @odooistic  2 ปีที่แล้ว

      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

    • @AmirAli-tl4sg
      @AmirAli-tl4sg 2 ปีที่แล้ว +1

      @@odooistic thank you sir

    • @odooistic
      @odooistic  2 ปีที่แล้ว +1

      You are most welcome

  • @bouadilabilel2872
    @bouadilabilel2872 11 หลายเดือนก่อน

    thank you

    • @odooistic
      @odooistic  10 หลายเดือนก่อน

      You're most welcome

  • @thanhkieucong
    @thanhkieucong 11 หลายเดือนก่อน

    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

    • @odooistic
      @odooistic  8 หลายเดือนก่อน

      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.