23bbd8860bd12c9e62942415a8e3cff084380d73
RATIONALE Purpose of this change to rewrite the formatting done on messages displayed on simple frontend i.e. portal chatter widget and project chatter. We stop calling 'message_format' which computes a lot of unnecessary data and sends too much information to frontend. We choose to instead manually handcraft the returned data, already tailored for frontend widget. SPECIFICATIONS Remove call to '_message_format' in 'portal_message_format'. Instead have a list of properties (fields or computation based on fields e.g. rating publisher information) that can be overridden in sub-addons. Use those to generate the data used by frontend chatter widget. Remove extra formatting or data computation done in JS files. Do it directly in 'portal_message_format' in order to have clean information sent. This change targets mainly portal and portal_rating. Making those modules Independent from backend message formatting allows to save queries and also to avoid sending useless information to the frontend. Task-3322905 Part-of: odoo/odoo#121104
…
…
…
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%