Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Can't Generate PDF in Odoov15

Odoberať

Get notified when there's activity on this post

This question has been flagged
pdfv15
1 Odpoveď
3207 Zobrazenia
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
Zrušiť
Bacar Sylla
Autor

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
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
Filling form fields in an existing PDF (CMR)
pdf v15
Avatar
Avatar
1
feb 24
5185
Error while creating template for pdf
pdf xml v15
Avatar
Avatar
1
máj 25
4057
Generate and store a pdf or send by mail
pdf reporting v15
Avatar
0
apr 24
2649
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
3591
Change Font style in PDF signature
pdf signature v15
Avatar
Avatar
Avatar
2
mar 23
4515
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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