Skip to content
Snippets Groups Projects
Commit 252c0b73 authored by Alexandre Fayolle's avatar Alexandre Fayolle
Browse files

[FIX] crash when a mode appears twice in view_mode


If an action has for instance twice "tree" in view_mode, you get a crash
when displaying the action.

This patch adds a python constraint on the model which will prevent such
change.

closes odoo/odoo#50189

Opw: #2241415
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent d57e5000
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment