[FIX] im_livechat: fix translations for embed live chat

Before this commit, the templates of the embed live chat were
not translated. This is due to the live chat embed app being
mounted without giving any `translateFn`.

This commit fixes this issue.

opw-3509309

closes odoo/odoo#141869

X-original-commit: 27aa2cb0ad1d279f72838000932d94e91cb436f3
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
tsm-odoo
2023-11-13 21:13:37 +00:00
parent 43dedb5f3c
commit 518bbbaaa8
+1
View File
@@ -24,6 +24,7 @@ import { session } from "@web/session";
await mount(MainComponentsContainer, target, {
env,
templates,
translateFn: env._t,
dev: env.debug,
});
})();