Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Can't Generate PDF in Odoov15

Naroči se

Get notified when there's activity on this post

This question has been flagged
pdfv15
1 Odgovori
3194 Prikazi
Avatar
Bacar Sylla

Hi,

i'm using Odoo V15. i'm trying to generate, print or send invoice, or report but it stuck in loading page. Anyone can help ?

0
Avatar
Opusti
Bacar Sylla
Avtor

Hi Nils! 

I'm using Odoo 15 CE. tried to reload the modules but still the same.

Here is the logs. Could you help ?

result = ir_http._dispatch()

File: "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch

return super(Http, cls)._dispatch()

File: "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch

return super(IrHttp, cls)._dispatch()

File: "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 29, in _dispatch

response = super(IrHttp, cls)._dispatch()

File: "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 519, in _dispatch

result = super(IrHttp, cls)._dispatch()

File: "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

result = request.dispatch()

File: "/usr/lib/python3/dist-packages/odoo/http.py", line 815, in dispatch

r = self._call_function(**self.params)

File: "/usr/lib/python3/dist-packages/odoo/http.py", line 368, in _call_function

return checked_call(self.db, *args, **kwargs)

File: "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper

return f(dbname, *args, **kwargs)

File: "/usr/lib/python3/dist-packages/odoo/http.py", line 357, in checked_call

result = self.endpoint(*a, **kw)

File: "/usr/lib/python3/dist-packages/odoo/http.py", line 921, in __call__

return self.method(*args, **kw)

File: "/usr/lib/python3/dist-packages/odoo/http.py", line 546, in response_wrap

response = f(*args, **kw)

File: "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 2000, in report_download

response = self.report_routes(reportname, docids=docids, converter=converter, context=context)

File: "/usr/lib/python3/dist-packages/odoo/http.py", line 546, in response_wrap

response = f(*args, **kw)

File: "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1929, in report_routes

pdf = report.with_context(context)._render_qweb_pdf(docids, data=data)[0]

File: "/usr/lib/python3/dist-packages/odoo/addons/account/models/ir_actions_report.py", line 50, in _render_qweb_pdf

return super()._render_qweb_pdf(res_ids=res_ids, data=data)

File: "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 909, in _render_qweb_pdf

pdf_content = self._run_wkhtmltopdf(

File: "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions_report.py", line 488, in _run_wkhtmltopdf

out, err = process.communicate()

File: "/usr/lib/python3.9/subprocess.py", line 1134, in communicate

stdout, stderr = self._communicate(input, endtime, timeout)

File: "/usr/lib/python3.9/subprocess.py", line 1981, in _communicate

ready = selector.select(timeout)

File: "/usr/lib/python3.9/selectors.py", line 416, in select

fd_event_list = self._selector.poll(timeout)

2023-07-18 06:53:22,846 1 INFO ? odoo.service.server: Initiating server reload

2023-07-18 06:53:23,122 1 INFO ? odoo.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 9 connections

2023-07-18 06:53:23,730 1 INFO ? odoo: Odoo version 15.0-20230530

2023-07-18 06:53:23,731 1 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf

2023-07-18 06:53:23,731 1 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/var/lib/odoo/addons/15.0', '/mnt/extra-addons']

2023-07-18 06:53:23,731 1 INFO ? odoo: database: odoo@172.17.0.5:5432

2023-07-18 06:53:23,871 1 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf

2023-07-18 06:53:24,045 1 INFO ? odoo.service.server: HTTP service (werkzeug) running on 7670bb9481ba:8069

2023-07-18 06:53:26,761 1 INFO ? odoo.http: HTTP Configuring static files

2023-07-18 06:53:26,778 1 INFO alnshop odoo.modules.loading: loading 1 modules...

2023-07-18 06:53:26,791 1 INFO alnshop odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries (+0 extra)

2023-07-18 06:53:26,847 1 INFO alnshop odoo.modules.loading: loading 157 modules...

2023-07-18 06:53:27,723 1 WARNING alnshop odoo.models: The model pos.report has no _description

2023-07-18 06:53:27,724 1 WARNING alnshop odoo.models: The model report.pos_report_generator.pos_order_report has no _description

2023-07-18 06:53:27,828 1 WARNING alnshop odoo.models: The model sale.report.advance has no _description

2023-07-18 06:53:27,829 1 WARNING alnshop odoo.models: The model sale.report.invoice has no _description

2023-07-18 06:53:27,829 1 WARNING alnshop odoo.models: The model sale.report.category has no _description

2023-07-18 06:53:27,829 1 WARNING alnshop odoo.models: The model sale.report.indent has no _description

2023-07-18 06:53:27,830 1 WARNING alnshop odoo.models: The model sale.report.analysis has no _description

2023-07-18 06:53:27,830 1 WARNING alnshop odoo.models: The model sale.report.weekly has no _description

2023-07-18 06:53:27,837 1 WARNING alnshop odoo.models: The model sales.report has no _description

2023-07-18 06:53:27,838 1 WARNING alnshop odoo.models: The model report.sale_report_generator.sale_order_report has no _description

2023-07-18 06:53:27,851 1 WARNING alnshop odoo.models: The model report.advanced_pos_reports.report_pos_posted_session has no _description

2023-07-18 06:53:27,852 1 WARNING alnshop odoo.models: The model report.advanced_pos_reports.report_pos_ongoing_session has no _description

2023-07-18 06:53:27,852 1 WARNING alnshop odoo.models: The model report.advanced_pos_reports.report_pos_top_selling_products has no _description

2023-07-18 06:53:27,853 1 WARNING alnshop odoo.models: The model report.advanced_pos_reports.report_pos_top_selling_categories has no _description

2023-07-18 06:53:27,853 1 WARNING alnshop odoo.models: The model report.advanced_pos_reports.report_pos_top_selling_customers has no _description

2023-07-18 06:53:27,859 1 WARNING alnshop odoo.addons.base.models.decimal_precision: Deprecated call to decimal_precision.get_precision(), use digits= instead

2023-07-18 06:53:27,859 1 WARNING alnshop odoo.addons.base.models.decimal_precision: Deprecated call to decimal_precision.get_precision(), use digits= instead

2023-07-18 06:53:27,885 1 INFO alnshop odoo.modules.loading: 157 modules loaded in 1.04s, 0 queries (+0 extra)

2023-07-18 06:53:28,047 1 WARNING alnshop odoo.fields: sale.order.state: selection=[('draft', 'Quotation'), ('sent', 'Quotation Sent'), ('waiting', 'Waiting Approval'), ('sale', 'Sales Order'), ('done', 'Locked'), ('cancel', 'Cancelled')] overrides existing selection; use selection_add instead

2023-07-18 06:53:28,087 1 WARNING alnshop odoo.fields: Field account.move.amount_discount: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,105 1 WARNING alnshop odoo.fields: Field budget.budget.state: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,113 1 WARNING alnshop odoo.fields: Field pos.order.line.returned_qty: unknown parameter 'digits', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,114 1 WARNING alnshop odoo.fields: Field sale.order.state: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,115 1 WARNING alnshop odoo.fields: Field sale.order.amount_untaxed: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,115 1 WARNING alnshop odoo.fields: Field sale.order.amount_tax: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,115 1 WARNING alnshop odoo.fields: Field sale.order.amount_total: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,116 1 WARNING alnshop odoo.fields: Field sale.order.amount_discount: unknown parameter 'digits', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,116 1 WARNING alnshop odoo.fields: Field sale.order.amount_discount: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,119 1 WARNING alnshop odoo.fields: Field sale.report.advance.type: unknown parameter 'reqired', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,120 1 WARNING alnshop odoo.fields: Field sale.report.invoice.status: unknown parameter 'reqired', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,120 1 WARNING alnshop odoo.fields: Field sale.report.indent.status: unknown parameter 'reqired', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,121 1 WARNING alnshop odoo.fields: Field sale.report.analysis.status: unknown parameter 'reqired', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,121 1 WARNING alnshop odoo.fields: Field sale.report.analysis.print_type: unknown parameter 'reqired', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it

2023-07-18 06:53:28,326 1 INFO alnshop odoo.modules.loading: Modules loaded.

2023-07-18 06:53:28,336 1 INFO alnshop odoo.modules.registry: Registry loaded in 1.572s

2023-07-18 06:53:28,338 1 INFO alnshop odoo.addons.base.models.ir_http: Generating routing map for key None

2023-07-18 06:53:28,678 1 INFO alnshop werkzeug: 102.142.116.207 - - [18/Jul/2023 06:53:28] "POST /web/webclient/version_info HTTP/1.1" 200 - 19 0.025 1.888

2023-07-18 06:53:48,908 1 INFO ? odoo.addons.bus.models.bus: Bus.loop listen imbus on db postgres

2023-07-18 06:54:08,681 1 INFO alnshop werkzeug: 102.142.116.207 - - [18/Jul/2023 06:54:08] "POST /longpolling/im_status HTTP/1.1" 200 - 18 0.018 0.025

2023-07-18 06:54:38,911 1 INFO alnshop werkzeug: 102.142.116.207 - - [18/Jul/2023 06:54:38] "POST /longpolling/poll HTTP/1.1" 200 - 15 0.011 50.281

2023-07-18 06:54:59,648 1 INFO alnshop werkzeug: 102.142.116.207 - - [18/Jul/2023 06:54:59] "POST /longpolling/im_status HTTP/1.1" 200 - 5 0.002 0.006

2023-07-18 06:55:29,390 1 INFO alnshop werkzeug: 102.142.116.207 - - [18/Jul/2023 06:55:29] "POST /longpolling/poll HTTP/1.1" 200 - 9 0.003 50.010

2023-07-18 06:55:50,641 1 INFO alnshop werkzeug: 102.142.116.207 - - [18/Jul/2023 06:55:50] "POST /longpolling/im_status HTTP/1.1" 200 - 5 0.003 0.010

2023-07-18 06:56:19,853 1 INFO alnshop werkzeug: 102.142.116.207 - - [18/Jul/2023 06:56:19] "POST /longpolling/poll HTTP/1.1" 200 - 9 0.004 50.010

2023-07-18 06:56:27,252 1 INFO alnshop odoo.addons.base.models.ir_cron: Starting job `payment: post-process transactions`.

2023-07-18 06:56:27,258 1 INFO alnshop odoo.addons.base.models.ir_cron: Job `payment: post-process transactions` done.

2023-07-18 06:56:41,632 1 INFO alnshop werkzeug: 102.142.116.207 - - [18/Jul/2023 06:56:41] "POST /longpolling/im_status HTTP/1.1" 200 - 5 0.004 0.007

Do you guys have any idea ? is it about models or Wkhtmltopdf ?

Thank you guys
Avatar
Nils Coenen
Best Answer

Hey Bacar,

you should check your server logs to see if anything helpful is listed. 

Could be an issue with wkhtmltopdf, but with the given information it is more or less fishing in the dark. Is it Odoo CE or EE and what type of hosting do you have?


0
Avatar
Opusti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Filling form fields in an existing PDF (CMR)
pdf v15
Avatar
Avatar
1
feb. 24
5172
Error while creating template for pdf
pdf xml v15
Avatar
Avatar
1
maj 25
4050
Generate and store a pdf or send by mail
pdf reporting v15
Avatar
0
apr. 24
2644
Is there a way to upload the same PDF work instructions to all work instructions on a BOM in one action?
pdf BOM v15
Avatar
Avatar
1
mar. 23
3582
Change Font style in PDF signature
pdf signature v15
Avatar
Avatar
Avatar
2
mar. 23
4499
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now