3f940313c8425c0de24451d495e4bfa732fce37e
PURPOSE Improve mail rendering tools and prepare ground for QWeb rendering. SPECIFICATIONS: MODEL FOR RENDERING Currently ``mail.render.mixin`` offers rendering tools, some of them being based on a ``model`` field. It allows to know which model to use to fetch records on which we perform rendering. However this field is not defined at mixin level but in inheriting models without being clearly implemented that way (see ``mail.template`` or ``sms.template`` models). In order to clean this mixin it is now defined at mixin level, using a not stored computed field allowing to define how to find this model. Sub models are updated accordingly. SPECIFICATIONS: COMPOSER MIXIN This merge introduces a new mixin ``mail.composer.mixin`` used when sending emails or notifications based on a mail template. Main current purpose is to hide details related to subject and body computation and rendering based on a mail.template. It also give the base tools to control who is allowed to edit body, notably when dealing with templating language like jinja or qweb. It is meant to evolve in a near future with upcoming support of qweb and fine grain control of rendering access. Use it in survey and slides invite wizards, as well as appraisal and appraisal survey (in enterprise). Use it in mail composer in a minimal way. SPECIFICATIONS: QWeb Temporarily and experimentally support Qweb rendering even if not used functionally, to prepare QWeb templates. LINKS COM PR odoo/odoo#70889 ENT PR odoo/enterprise#18352 UPG PR odoo/upgrade#2490 Related: odoo/upgrade#2496 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%