summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2014-03-04 12:29:57 +0100
committerThibault Delavallée <tde@openerp.com>2014-03-04 12:29:57 +0100
commitdb2bdee34349f5ceef06cbdde247c66fd001c18a (patch)
treebdc7f454c50030c407ead8ef066fb89939218ee5 /addons/analytic_user_function
parente78a3b18cc6c049a712d594ab70287c486447f0a (diff)
parentd417da6c1a64c6c51aa2c734e31e1360ad4f434e (diff)
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
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions