summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorOdoo's Mergebot <xmo+roboto@odoo.com>2020-03-24 15:21:43 +0100
committerGitHub <noreply@github.com>2020-03-24 15:21:43 +0100
commit3eb7314870e49e8d4a7de7f3eb802d002ca77223 (patch)
treea7ca68551983918250b641bf3c199a2280656cfb /addons/web/static/src/js/fields/basic_fields.js
parent0b4cf7de5ca493caa863e0376d4c09f30706d53e (diff)
parentefa161e25c452aacb9ee39281f94e36cc696cedc (diff)
[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>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions