3eb7314870e49e8d4a7de7f3eb802d002ca77223
PURPOSE Merge rendering tools used in mail and sms templates and move them directly in mail.render.mixin SPECIFICATIONS Clean rendering methods API and calls. Ensure they are private. Improve naming and docstrings to ease understanding. Move rendering methods on mail.render.mixin. It makes no senss to have to create a void mail.template recordset just to invoke jinjna rendering engine. Now rendering will be available * either directly through inherit; * either by calling env['mail.render.mixin']._render_template(); Move local to global links convertion as well as links shortening tool methods on mail.render.mixin . That way this mixin holds tools related to rendering and its post-processing. This impacts mail.template, sms.template and mailing.mailing as side effect without any functional change. LINKS Task ID 1963529 Community PR odoo/odoo#32397 Enterprise PR odoo/enterprise#8634 Upgrade PR odoo/upgrade#911 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%