954d7a6b4ab8a706dfc9361a3424cd34da593f3d
Before this commit, when using a livechat chatbot from visitor and selecting a chatbot option, there was the following traceback: ``` UncaughtPromiseError > SyntaxError Uncaught Promise > JSON Parse error: Unterminated string SyntaxError: JSON Parse error: Unterminated string parse@[native code] updateSession ``` This happens because the session cookie had incorrect format for its content. This was caused by a history prop whose content had the character "→". When setting the cookie, the stringified object is only partially inserted until this "→", which made the content non-JSON parseable as the string is incomplete. This commit fixes the issue by replacing all occurrences of the character "→" by a whitespace, so that the setting of the cookie works and insert the whole stringified object as intended. Note that this "→" is used for data that is not used in the context of livechat chatbot for the visitor, therefore this alteration of the content has functionally no effect. opw-3527969 closes odoo/odoo#139606 X-original-commit: 64efe60f92679767af769125ce7515ca3fff8c49 Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com> Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
…
…
…
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%