Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Odoo 16 - Download invoice preview doesn't work

Odebírat

Get notified when there's activity on this post

This question has been flagged
invoice
3 Odpovědi
3839 Zobrazení
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
Zrušit
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
Nejlepší odpověď

Do you use any other reverse proxy besides Nginx?

0
Avatar
Zrušit
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 Nejlepší odpověď

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
Zrušit
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
Nejlepší odpověď

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

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
change between 2 Invoice formats Vyřešeno
invoice
Avatar
Avatar
1
čvc 25
1590
Hello, how can I change the size of the logo and the invoice? Vyřešeno
invoice
Avatar
Avatar
Avatar
2
čvc 25
1943
Validation Error. You will need to clear the Journal Entry's Number to proceed
invoice
Avatar
Avatar
1
čvc 25
2928
Restricting Salesperson Access to Customer Invoice Details
invoice
Avatar
Avatar
Avatar
3
dub 25
2817
Delete PDF Invoice Vyřešeno
invoice
Avatar
1
bře 25
2528
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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