Odoo's Mergebot 3eb7314870 [MERGE] mail, sms: move rendering tool on mail.render.mixin
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>
2020-03-24 15:21:43 +01:00
2020-03-17 09:48:34 +00:00
…
2019-10-03 12:48:09 +00:00
…
…
…
2019-11-08 11:24:04 +00:00
2019-10-03 12:48:09 +00:00

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%