Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

Internal Server Error after payment completes

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
odoo16features
2 Antworten
2746 Ansichten
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
Verwerfen
Avatar
Nat
Autor Beste Antwort

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
Verwerfen
Avatar
NAIBI BEHZAD
Beste Antwort

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

0
Avatar
Verwerfen
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

Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Gelöst
odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
Sept. 25
24132
How to Add wizard under print button inside the form view.
odoo16features
Avatar
Avatar
Avatar
Avatar
3
Aug. 25
3646
How to add @api.onchange in _get_view() method odoo 16
odoo16features
Avatar
Avatar
1
Mai 25
3550
get all partners which are internal users or portal users odoo16
odoo16features
Avatar
Avatar
1
Apr. 25
4404
How to add decoration color green with bold to a record with a single conditon
odoo16features
Avatar
Avatar
1
Apr. 25
5216
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Ausbildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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