From 0cb19acd047963408ecd0a43a5ab0e4fa295dc90 Mon Sep 17 00:00:00 2001 From: "Didier (did)" Date: Tue, 2 May 2023 08:13:13 +0000 Subject: [PATCH] [FIX] mail: guard an optional props Before this PR, using the message component wihtout a thread could crash because props.thread could be undefined (as thread is an optional props). This PR just add the guard. closes odoo/odoo#120233 Signed-off-by: Stockbauer Matthieu (tsm) --- addons/mail/static/src/core_ui/message.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/core_ui/message.xml b/addons/mail/static/src/core_ui/message.xml index fc03bbf04bd..7bb56cd3048 100644 --- a/addons/mail/static/src/core_ui/message.xml +++ b/addons/mail/static/src/core_ui/message.xml @@ -149,7 +149,7 @@ - +