Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Can't Generate PDF in Odoov15

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
pdfv15
1 Responder
3216 Visualizações
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
Cancelar
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
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Filling form fields in an existing PDF (CMR)
pdf v15
Avatar
Avatar
1
fev. 24
5200
Error while creating template for pdf
pdf xml v15
Avatar
Avatar
1
mai. 25
4063
Generate and store a pdf or send by mail
pdf reporting v15
Avatar
0
abr. 24
2661
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
3599
Change Font style in PDF signature
pdf signature v15
Avatar
Avatar
Avatar
2
mar. 23
4531
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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