Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

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

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
discussBug
2 Trả lời
877 Lượt xem
Ảnh đại diện
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
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Cybrosys Techno Solutions Pvt.Ltd
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Ray Carnes (ray)
Câu trả lời hay nhất

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
Ảnh đại diện
Huỷ bỏ
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
Odoo Bug ? or Not
Bug
Ảnh đại diện
0
thg 11 25
201
Editing answers on this forum - bug or feature? Đã xử lý
Bug
Ảnh đại diện
Ảnh đại diện
1
thg 11 25
287
Is there a way to import chat details in discuss odoo 16
discuss
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 11 23
3327
DISCUSS MODULE ERROR- "PLEASE WAIT"
discuss
Ảnh đại diện
Ảnh đại diện
1
thg 2 23
3759
Remove or hide Discuss module
discuss
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 12 22
8427
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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