Nasreddin Boulif (bon) a382e64ac1 [FIX] im_livechat: display chatbot in website or user language
Steps to reproduce:

  - Install the module `crm_livechat`
  - Activate another language (e.g. fr_FR)
  - Open a new incognito window and go to the website
  - On website, switch to the activated language
  - Open contact page
  - Open the chatbot

Issue:

  The chatbot is displayed in `en_US`.

Cause:

  The chatbot is displayed in the current user language (not website
  language).
  Public user have by default `en_US` as language.

Solution:

  Retrieve the chatbot with the website activated language if set,
  otherwise, retrieve the chatbot in the user language.
  Fallback on `en_US`.

opw-3284807

closes odoo/odoo#126594

X-original-commit: cb9c003700d2d8eb3be326260bae5fa5e599b89c
Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
Signed-off-by: Nasreddin Boulif (bon) <bon@odoo.com>
2023-06-30 14:25:19 +02:00
2023-06-27 10:42:56 +02:00
2023-06-30 10:42:16 +02:00
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%