Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
discussBug
2 Odgovori
876 Prikazi
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
Opusti
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

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
Opusti
Avatar
Ray Carnes (ray)
Best Answer

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Odoo Bug ? or Not
Bug
Avatar
0
nov. 25
201
Editing answers on this forum - bug or feature? Solved
Bug
Avatar
Avatar
1
nov. 25
286
Is there a way to import chat details in discuss odoo 16
discuss
Avatar
Avatar
Avatar
2
nov. 23
3324
DISCUSS MODULE ERROR- "PLEASE WAIT"
discuss
Avatar
Avatar
1
feb. 23
3758
Remove or hide Discuss module
discuss
Avatar
Avatar
Avatar
2
dec. 22
8427
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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