991eb9a17b76c38e574d14caa56cfdfe47546399
When we send a SMS in the contact form view, exact body is sent by SMS and displayed in chatter. If some manual HTML is added chatter will display it as HTML while sms receive HTML tags. We want that the SMS content in the chatter is the same as the SMS sent and that HTML tags are removed to avoid being interpreted. To achieve that goal we call html2plaintext in ``_message_sms`` and in ``prepare_log_body_value`` that are two entry points to send SMS. We also update ``html2plaintext`` to strip result in order to avoid having unnecessary spaces left. Task ID 2126123 PR #40441 closes odoo/odoo#46362 X-original-commit: 4b7b14a5ea5e6ab521838c01813fa478154682fd Signed-off-by: Thibault Delavallee (tde) <tde@openerp.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%