From 2da3ea2d628d070e19db4dd172e3b2445fccad3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 7 Mar 2013 17:50:14 +0100 Subject: [PATCH] [IMP] email_template: added _order as name. bzr revid: tde@openerp.com-20130307165014-gv2gmfh9d1nvjy9h --- addons/email_template/email_template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/email_template/email_template.py b/addons/email_template/email_template.py index 743384059b4..280e44fa2fb 100644 --- a/addons/email_template/email_template.py +++ b/addons/email_template/email_template.py @@ -65,6 +65,7 @@ class email_template(osv.osv): "Templates for sending email" _name = "email.template" _description = 'Email Templates' + _order = 'name' def render_template(self, cr, uid, template, model, res_id, context=None): """Render the given template text, replace mako expressions ``${expr}``