odoo/addons/email_template/wizard
Thibault Delavallée db2bdee343 MERGE] [FIX] email_template: fix relative -> absolute url conversion
Local URLs are converted into absolute URLs, notably because when using the
email designer, images are added using local URLs. Previously to this fix
the template was analyzed to find local URLs and make them absolute.
However this causes 2 issues :
- mako-based URLs are broken because a scheme is added before the mako that
generated the image src
- when changing the base url, the templates are not updated
The URLs are now converted dynamically when generating the content of the
html. This is done by passing a new parameter that enable the post processing
of the generated content.
Also fixed double body generation when using templates; fields parameter
was not propagated correctly.

bzr revid: tde@openerp.com-20140304112957-l9b10gyjqphs5fgc
2014-03-04 12:29:57 +01:00
..
__init__.py [IMP] Added missing vim mode lines 2011-11-22 09:51:38 +01:00
email_template_preview.py [MERGE] from trunk 2013-04-11 09:37:08 +02:00
email_template_preview_view.xml [IMP] email_template_preview: improved form view. 2013-03-29 12:27:22 +01:00
mail_compose_message.py MERGE] [FIX] email_template: fix relative -> absolute url conversion 2014-03-04 12:29:57 +01:00
mail_compose_message_view.xml [FIX] mail: create and edit of template_id in compose message now works, as we pass the template model in context (among others useful default value) 2014-02-07 11:46:37 +01:00