Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Odoo 19 - KeyNotFoundError: Cannot find key "mail.action_discuss" in the actions registry

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
discussBug
2 Besvarelser
886 Visninger
Avatar
Test

Hello Community,

I recently upgraded to Odoo 19 and I’m facing a frontend error when trying to access the Discuss app. The system is looking for mail.action_discuss but it seems this action is missing in the registry.

Here’s the exact error log:

UncaughtPromiseError > KeyNotFoundError

Uncaught Promise > Cannot find key "mail.action_discuss" in the "actions" registry

Occurred on my Odoo instance on 2025-10-04 18:26:29 GMT

KeyNotFoundError: Cannot find key "mail.action_discuss" in the "actions" registry
    Error: Cannot find key "mail.action_discuss" in the "actions" registry
        at Registry.get (https://mydomain.com/web/assets/debug/web.assets_web.js:38820:19)
        at _executeClientAction (https://mydomain.com/web/assets/debug/web.assets_web.js:107486:45)
        at Object.doAction (https://mydomain.com/web/assets/debug/web.assets_web.js:107659:24)
        at async Object.selectMenu (https://mydomain.com/web/assets/debug/web.assets_web.js:109593:17)
        at async WebClient.loadRouterState (https://mydomain.com/web/assets/debug/web.assets_web.js:112607:13)

Steps I already tried:

  • Checked menu items in Settings → Technical → User Interface → Menu Items but couldn’t find any action for mail.action_discuss.
  • Searched for actions under Settings → Technical → Actions → Window Actions but couldn’t locate it either.
  • Cleared cache and restarted the server, no luck.

Question:

  • Was mail.action_discuss renamed or removed in Odoo 19?
  • If so, what is the recommended way to fix this (update menus, or patch with a new XML record)?

Thanks in advance for any guidance!

0
Avatar
Kassér
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Bedste svar

Hi,


After upgrading to Odoo 19, the frontend error when accessing the Discuss app occurs because the system cannot find mail.action_discuss in the actions registry. This happens because Odoo 19 has restructured the Discuss (Messaging) module, and the old window action mail.action_discuss has either been removed or renamed. Menu items in the frontend that still reference this action will trigger a KeyNotFoundError since the action no longer exists.


To resolve this issue, the menu item needs to be updated to point to the new action used in Odoo 19. This can be done by navigating to Settings → Technical → User Interface → Menu Items, finding the Discuss menu, and changing its action to the appropriate client action for messaging. Odoo 19 uses OWL components and client actions instead of traditional ir.actions.act_window for many apps, including Discuss.


Alternatively, if backward compatibility is needed, you can create a new XML record to define the missing action. For example, you can register a new client action with tag="mail.messaging_frontend_action" and update the Discuss menu to reference this action. After making these changes, it is important to clear the cache and reload the frontend so that the new action is properly registered and the Discuss app works without errors.


Hope it helps

0
Avatar
Kassér
Avatar
Ray Carnes (ray)
Bedste svar

There is no upgrade available yet for Odoo 19.

It is not possible for anyone to upgrade to Odoo 19 - we are in the early stages of testing the upgrade scripts for Odoo Online Customers (only) and plan to release the upgrade scripts for other deployment options in November (providing testing goes well for the first several thousand online databases and odoo.com later this month).

You have been misinformed / have misunderstood how upgrades work.

Review https://www.odoo.com/documentation/19.0/administration/upgrade.html

The official option from Odoo for the Enterprise Edition (when available) will be at https://upgrade.odoo.com and the Community supported / Odoo Community Assocation option for the Community Edition (when available) will be at https://oca.github.io/OpenUpgrade

The OCA option normally takes much longer to be available - you can review the status of their upgrade to Odoo 18.0 and see that not all models are available yet.

0
Avatar
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Odoo Bug ? or Not
Bug
Avatar
0
nov. 25
204
Editing answers on this forum - bug or feature? Løst
Bug
Avatar
Avatar
1
nov. 25
289
Is there a way to import chat details in discuss odoo 16
discuss
Avatar
Avatar
Avatar
2
nov. 23
3331
DISCUSS MODULE ERROR- "PLEASE WAIT"
discuss
Avatar
Avatar
1
feb. 23
3761
Remove or hide Discuss module
discuss
Avatar
Avatar
Avatar
2
dec. 22
8428
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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