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

Internal Server Error after payment completes

Odebírat

Get notified when there's activity on this post

This question has been flagged
odoo16features
2 Odpovědi
2736 Zobrazení
Avatar
Nat

After processing a payment(via stripe if it matters), odoo attempts to show the Payment Status, but instead it shows Internal Server Error and dumps the QWEB template that it's unable to render. I created a duplicate test instance and am able to reproduce the issue.

I looked at the QWEB for this page, and verified I haven't modified it at all, it has very little content it just has a comment that JS will fill in the page. That seems to be what's failing since the headers and footers render fine. Is there anyway to get an error log so I can figure out what's happening? The output on the site isn't helpful since it's just the qweb that won't render, but doesn't have a backtrace or indicate why it failed to render.

In the duplicate instance I disabled all my qweb customizations, and the issue persists. I'm kinda at a loss, and it's a very disconcerting experience for customers, even though the order processes fine, and they get the confirmation emails.

0
Avatar
Zrušit
Avatar
Nat
Autor Nejlepší odpověď

For anyone else who runs into this I've tracked down the source of the issue. It's not very intuitive though. I modified the "Sales: Order Confirmation" email template, and introduced an error there. This is somehow used in generating the web payment confirmation screen, which seems well a little bizarre/hacky to me, but was probably done to cut down on maintenance.

After resetting this template all is working again.

1
Avatar
Zrušit
Avatar
NAIBI BEHZAD
Nejlepší odpověď

hello, can you please detail your solution and how to introduce an error in the email template? THANKS

0
Avatar
Zrušit
Nat
Autor

The solution was to reset the email template to the default. I think there is a QWEB that depends on the email template and if there is missing content the inherited view fails to render. I'm not sure if this is still an issue in he latest version we were on 16.something at the time.

NAIBI BEHZAD

Hello Nat,
can you please give me your opinion on our "server error"? Thank you

RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/odoo-v16-community/odoo/http.py", line 1633, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/home/odoo/odoo-v16-community/odoo/service/model.py", line 133, in retrying
result = func()
File "/home/odoo/odoo-v16-community/odoo/http.py", line 1660, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/odoo/odoo-v16-community/odoo/http.py", line 1864, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/website/models/ir_http.py", line 235, in _dispatch
response = super()._dispatch(endpoint)
File "/home/odoo/odoo-v16-community/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/home/odoo/odoo-v16-community/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/web/controllers/dataset.py", line 46, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/odoo/odoo-v16-community/odoo/api.py", line 470, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/home/odoo/odoo-v16-community/odoo/api.py", line 455, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/sale/wizard/sale_make_invoice_advance.py", line 149, in create_invoices
self._create_invoices(self.sale_order_ids)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/sale/wizard/sale_make_invoice_advance.py", line 161, in _create_invoices
return sale_orders._create_invoices(final=self.deduct_down_payments)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/sale/models/sale_order.py", line 1199, in _create_invoices
moves = self.env['account.move'].sudo().with_context(default_move_type='out_invoice').create(invoice_vals_list)
File "<decorator-gen-206>", line 2, in create
File "/home/odoo/odoo-v16-community/odoo/api.py", line 417, in _model_create_multi
return create(self, arg)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/account/models/account_move.py", line 2225, in create
moves = super().create([self._sanitize_vals(vals) for vals in vals_list])
File "<decorator-gen-135>", line 2, in create
File "/home/odoo/odoo-v16-community/odoo/api.py", line 417, in _model_create_multi
return create(self, arg)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/mail/models/mail_thread.py", line 258, in create
threads = super(MailThread, self).create(vals_list)
File "<decorator-gen-68>", line 2, in create
File "/home/odoo/odoo-v16-community/odoo/api.py", line 417, in _model_create_multi
return create(self, arg)
File "/home/odoo/odoo-v16-community/odoo/addons/base/models/ir_fields.py", line 670, in create
recs = super().create(vals_list)
File "<decorator-gen-15>", line 2, in create
File "/home/odoo/odoo-v16-community/odoo/api.py", line 417, in _model_create_multi
return create(self, arg)
File "/home/odoo/odoo-v16-community/odoo/models.py", line 3975, in create
records = self._create(data_list)
File "/home/odoo/odoo-v16-community/odoo/models.py", line 4227, in _create
records._validate_fields(name for data in data_list for name in data['stored'])
File "/home/odoo/odoo-v16-community/odoo/models.py", line 1359, in _validate_fields
check(self)
File "/home/odoo/odoo-v16-community/odoo/models.py", line 762, in wrapper
return func(self)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/account/models/sequence_mixin.py", line 81, in _constrains_date_sequence
sequence = record[record._sequence_field]
File "/home/odoo/odoo-v16-community/odoo/models.py", line 5915, in __getitem__
return self._fields[key].__get__(self, self.env.registry[self._name])
File "/home/odoo/odoo-v16-community/odoo/fields.py", line 1158, in __get__
self.recompute(record)
File "/home/odoo/odoo-v16-community/odoo/fields.py", line 1370, in recompute
apply_except_missing(self.compute_value, recs)
File "/home/odoo/odoo-v16-community/odoo/fields.py", line 1343, in apply_except_missing
func(records)
File "/home/odoo/odoo-v16-community/odoo/fields.py", line 1392, in compute_value
records._compute_field_value(self)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/mail/models/mail_thread.py", line 403, in _compute_field_value
return super()._compute_field_value(field)
File "/home/odoo/odoo-v16-community/odoo/models.py", line 4232, in _compute_field_value
fields.determine(field.compute, self)
File "/home/odoo/odoo-v16-community/odoo/fields.py", line 98, in determine
return needle(*args)
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/account/models/account_move.py", line 689, in _compute_name
move._set_next_sequence()
File "/home/odoo/odoo-16.0+e.20230516/odoo/addons/account_sequence/models/sequence_mixin.py", line 39, in _set_next_sequence
self.env.add_to_compute(triggered_field, self[field.name] if field else self)
File "/home/odoo/odoo-v16-community/odoo/api.py", line 816, in add_to_compute
assert field.store and field.compute, "Cannot add to recompute no-store or no-computed field "+field.name
AssertionError: Cannot add to recompute no-store or no-computed field made_sequence_hole

Nat
Autor

Based on the assertion error it looks like it's having issues with the sequence number so not related to the issue we had, do you use manually specified invoice or quote numbers rather than numbers that can be incremented?

NAIBI BEHZAD

we only use a module to customize the footer and header. but we did not modify the invoice sequences

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
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Vyřešeno
odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
zář 25
24083
How to Add wizard under print button inside the form view.
odoo16features
Avatar
Avatar
Avatar
Avatar
3
srp 25
3636
How to add @api.onchange in _get_view() method odoo 16
odoo16features
Avatar
Avatar
1
kvě 25
3538
get all partners which are internal users or portal users odoo16
odoo16features
Avatar
Avatar
1
dub 25
4393
How to add decoration color green with bold to a record with a single conditon
odoo16features
Avatar
Avatar
1
dub 25
5207
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