Current behavior before fix: In mobile view when we click invite button on events module which loads the snippet, at that time there was a traceback. Desired behavior after fix: Now the snippet gets loaded without any traceback. Task-2994261 closes odoo/odoo#106734 X-original-commit: 634f6ae4d4208f0551bc2b81c359915eb47316b5 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>