[MERGE] [FIX] mail: make subject of invitation wizard translatable

bzr revid: mat@openerp.com-20140307090923-28r81taey0sdtfy0
This commit is contained in:
Martin Trigaux
2014-03-07 10:09:23 +01:00
+1 -1
View 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)