[FIX] mail: improved render_template context preparation
authorXavier ALT <xal@openerp.com>
Mon, 20 Aug 2012 08:19:11 +0000 (10:19 +0200)
committerXavier ALT <xal@openerp.com>
Mon, 20 Aug 2012 08:19:11 +0000 (10:19 +0200)
commit9f7d2c697a83d9bbdb74504d9746c19d8165b9e2
tree7d19192620475ee9ab750a0d9d4ea77e4ecac389
parente0aa37e09d7c9e8e8032cb0528a8b68bc95a739d
[FIX] mail: improved render_template context preparation

  - rename '_pre_render_template' to '_prepare_render_template_context'
  - _preare_render_template_context return a new context, which is distinct
    from original method context - as we want to control more precisely what
    context will be available to render_template().

bzr revid: xal@openerp.com-20120820081911-34h2zlzcrspfpyz6
addons/mail/wizard/mail_compose_message.py