[FIX] invitation wizard: subject on invitation wizard is not translatable
authorAmit Dodiya (OpenERP) <ado@tinyerp.com>
Tue, 11 Feb 2014 10:51:03 +0000 (16:21 +0530)
committerAmit Dodiya (OpenERP) <ado@tinyerp.com>
Tue, 11 Feb 2014 10:51:03 +0000 (16:21 +0530)
bzr revid: ado@tinyerp.com-20140211105103-1acfgp8htr1nb1uj

addons/mail/wizard/invite.py

index f5b8896..0079177 100644 (file)
@@ -73,7 +73,7 @@ class invite_wizard(osv.osv_memory):
                     mail_id = mail_mail.create(cr, uid, {
                         'model': wizard.res_model,
                         'res_id': wizard.res_id,
-                        'subject': 'Invitation to follow %s' % document.name_get()[0][1],
+                        'subject': _('Invitation to follow %s') % document.name_get()[0][1],
                         'body_html': '%s' % wizard.message,
                         'auto_delete': True,
                         }, context=context)