Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
discussBug
2 Réponses
905 Vues
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
Ignorer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

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
Ignorer
Avatar
Ray Carnes (ray)
Meilleure réponse

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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Odoo Bug ? or Not
Bug
Avatar
0
nov. 25
216
Editing answers on this forum - bug or feature? Résolu
Bug
Avatar
Avatar
1
nov. 25
297
Is there a way to import chat details in discuss odoo 16
discuss
Avatar
Avatar
Avatar
2
nov. 23
3341
DISCUSS MODULE ERROR- "PLEASE WAIT"
discuss
Avatar
Avatar
1
févr. 23
3772
Remove or hide Discuss module
discuss
Avatar
Avatar
Avatar
2
déc. 22
8450
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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