From f02e532c76de698bf6cb760e4176ec5e36fde11c Mon Sep 17 00:00:00 2001 From: tsm-odoo Date: Thu, 18 Aug 2022 10:16:07 +0000 Subject: [PATCH] [FIX] mail: fix traceback on rtc call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the PR hiding the screen sharing button on mobile [1], starting a call result in tracebacks. The issue is that the code is using `env.device` which is only available in the legacy env while discuss works with the wowlEnv. In order to solve this issue, let's use `messaging.device` instead. [1]: https://github.com/odoo/odoo/pull/97947 closes odoo/odoo#98400 X-original-commit: 5fb6ea52ef876939a316bfc289237b443089f37b Signed-off-by: Sébastien Theys (seb) Signed-off-by: Stockbauer Matthieu (tsm) --- .../static/src/components/call_action_list/call_action_list.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/components/call_action_list/call_action_list.xml b/addons/mail/static/src/components/call_action_list/call_action_list.xml index 40063aa985c..1fd181ee825 100644 --- a/addons/mail/static/src/components/call_action_list/call_action_list.xml +++ b/addons/mail/static/src/components/call_action_list/call_action_list.xml @@ -47,7 +47,7 @@ - +