Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Can't Generate PDF in Odoov15

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
pdfv15
1 Rispondi
3257 Visualizzazioni
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
Abbandona
Bacar Sylla
Autore

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
Risposta migliore

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
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Filling form fields in an existing PDF (CMR)
pdf v15
Avatar
Avatar
1
feb 24
5265
Error while creating template for pdf
pdf xml v15
Avatar
Avatar
1
mag 25
4143
Generate and store a pdf or send by mail
pdf reporting v15
Avatar
0
apr 24
2685
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
3651
Change Font style in PDF signature
pdf signature v15
Avatar
Avatar
Avatar
2
mar 23
4581
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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