diff --git a/web_favicon/views/templates.xml b/web_favicon/views/templates.xml index 58af7157bf37..1d561b29c1b0 100644 --- a/web_favicon/views/templates.xml +++ b/web_favicon/views/templates.xml @@ -6,7 +6,7 @@ env['res.company'].sudo()._get_favicon() or '/web/static/img/favicon.ico' + >getattr(env['res.company'].sudo(), '_get_favicon', lambda: False)() or '/web/static/img/favicon.ico'