Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Odoo 16 - Download invoice preview doesn't work

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
invoice
3 Respuestas
3882 Vistas
Avatar
Hugo Rodríguez

When I am in the view of the invoice shown in the image and I click on download, the browser is continuously processing (the loading circle of the tab rotates) and after about 20-30 seconds the nginx error of the image is displayed.

I have checked the logs but no logs are being saved in the /var/log/odoo/odoo.log file

I tried installing wkhtmltopdf, but the problem persists. What else could I try?

0
Avatar
Descartar
Hugo Rodríguez
Autor

Hi, I solved the problem.

The odoo.conf file had only 1 worker defined.
Print / download invoice requires 2 workers

Waleed Ali Mohsen

Sound good.
If you want to user workers you need to configure it correctly:
number of workers = (CPU Core * 2) + 1
So if you have server with 4 CPU, 8 Thread:
(4 * 2) + 1 = 9 <- theoretical maximal number of worker

You can refer to Odoo deployment:
https://www.odoo.com/documentation/16.0/administration/install/deploy.html#id5

Avatar
Lawbor
Mejor respuesta

Do you use any other reverse proxy besides Nginx?

0
Avatar
Descartar
Lawbor

Try running wkhtmltopdf manually from the command line to see if it works outside of Odoo.
This post was last modified: 10-04-2025, 05:48 am by https://spacewaves.io

Avatar
Hugo Rodríguez
Autor Mejor respuesta

Sorry

I just saw that I hadn't uploaded the images, and I can't do that because of karma. Proxy mode is set to true, I'm checking console. When I press download i get a 504 Gateway Time-out from nginx

0
Avatar
Descartar
Waleed Ali Mohsen

What are you getting in the console?
You need to check the nginx error log as well.

Hugo Rodríguez
Autor

I'm getting this in the console

warning: Some modules could not be started
boot.js:327 Missing dependencies: Array(19)0: "@web/core/assets"1: "@web/core/browser/feature_detection"2: "@web/core/ui/ui_service"3: "@web/core/l10n/translation"4: "@web/core/utils/render"5: "@web/core/browser/browser"6: "@web/core/registry"7: "@web/core/utils/concurrency"8: "@web/core/utils/ui"9: "@web/core/transition"10: "@web/core/l10n/localization"11: "@web/core/utils/strings"12: "web.public_env"13: "web.public.lazyloader"14: "@web/legacy/utils"15: "web.OwlCompatibility"16: "@web/env"17: "@web/core/main_components_container"18: "@web/core/network/rpc_service"length: 19[[Prototype]]: Array(0)
boot.js:348 Non loaded modules: Array(61)0: "web.assets.qweb"1: "@web/legacy/js/libs/pdfjs"2: "web.AbstractService"3: "web.AbstractStorageService"4: "web.ajax"5: "web.BrowserDetection"6: "web.Bus"7: "web.Dialog"8: "web.OwlDialog"9: "web.dom"10: "web.local_storage"11: "web.mixins"12: "web.QWeb"13: "web.RamStorage"14: "web.Registry"15: "web.rpc"16: "web.ServiceProviderMixin"17: "web.ServicesMixin"18: "web.Session"19: "web.sessionStorage"20: "web.time"21: "web.translation"22: "web.utils"23: "web.Widget"24: "web.AjaxService"25: "web.config"26: "web.core"27: "web.LocalStorageService"28: "web.SessionStorageService"29: "web.commonEnv"30: "web.name_and_signature"31: "web/static/src/js/core/smooth_scroll_on_drag.js"32: "web.Colorpicker"33: "web.TranslationDialog"34: "@bus/im_status_service"35: "@bus/multi_tab_service"36: "@bus/services/assets_watchdog_service"37: "@bus/services/bus_service"38: "@bus/services/legacy/make_bus_service_to_legacy_env"39: "@bus/services/legacy/make_multi_tab_to_legacy_env"40: "@bus/services/presence_service"41: "web_tour.RunningTourActionHelper"42: "web_tour.Tip"43: "web_tour.TourManager"44: "web_tour.tour"45: "web_tour.TourStepUtils"46: "web_tour.utils"47: "web_editor.ace"48: "@web_editor/js/common/grid_layout_utils"49: "web_editor.utils"50: "@sign/js/common/PDFIframe"51: "@sign/js/common/document"52: "@sign/js/common/document_signable"53: "web.assets_common.bundle.xml"54: "web.session"55: "@web/legacy/js/public/public_root"56: "web.public.root"57: "@web/legacy/js/public/public_root_instance"58: "root.widget"59: "@web/legacy/js/public/public_widget"60: "web.public.widget"length: 61[[Prototype]]: Array(0)
owl.js:5605 Owl is running in 'dev' mode.

This is not suitable for production use.
See https://github.com/odoo/owl/blob/ba20267/doc/reference/app.md#configuration for more information.
tour_manager.js:53 Tour Manager is ready. running_tour=null

Avatar
Waleed Ali Mohsen
Mejor respuesta

Hi,

You are using nginx so Make sure that the proxy_mode = True in your Odoo config file. 

If you opened the inspect in your browser and check console, you will find more details about the error.

Thanks

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
change between 2 Invoice formats Resuelto
invoice
Avatar
Avatar
1
jul 25
1711
Hello, how can I change the size of the logo and the invoice? Resuelto
invoice
Avatar
Avatar
Avatar
2
jul 25
2051
Validation Error. You will need to clear the Journal Entry's Number to proceed
invoice
Avatar
Avatar
1
jul 25
3007
Restricting Salesperson Access to Customer Invoice Details
invoice
Avatar
Avatar
Avatar
3
abr 25
2911
Delete PDF Invoice Resuelto
invoice
Avatar
1
mar 25
2609
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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