From 3ea3c8107e5e5e70fd9c893a0ad21e8f9019655c Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Fri, 25 Jun 2010 14:04:22 +0200 Subject: [PATCH 1/5] fix bzr revid: fp@tinyerp.com-20100625120422-yrods50au0z26175 --- addons/email_template/email_template.py | 2 +- addons/email_template/email_template_view.xml | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index a015ef81418..0ca89a5bbb8 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -232,7 +232,7 @@ class email_template(osv.osv): template_obj = self.browse(cr, uid, ids)[0] src_obj = template_obj.object_name.model vals['ref_ir_act_window'] = self.pool.get('ir.actions.act_window').create(cr, uid, { - 'name': _("%s Mail Form") % template_obj.name, + 'name': template_obj.name, 'type': 'ir.actions.act_window', 'res_model': 'email_template.send.wizard', 'src_model': src_obj, diff --git a/addons/email_template/email_template_view.xml b/addons/email_template/email_template_view.xml index c6eb3757604..3346c6c6162 100644 --- a/addons/email_template/email_template_view.xml +++ b/addons/email_template/email_template_view.xml @@ -108,15 +108,18 @@ - - - - - + +