Sandy Carter (http://www.savoirfairelinux.com) has proposed merging 
lp:~savoirfairelinux-openerp/ocb-addons/7.0_mail_thread_translate_bug1262000 
into lp:ocb-addons.

Requested reviews:
  OpenERP Community Backports Team (ocb)

For more details, see:
https://code.launchpad.net/~savoirfairelinux-openerp/ocb-addons/7.0_mail_thread_translate_bug1262000/+merge/207992

Fix for bug #1262000 in which OEChatter's mail_thread widget does not translate 
the object's _description field resulting in half-translated messages posted in 
the mail thread.

Simple line change which translates self._description when invoked here.
-- 
https://code.launchpad.net/~savoirfairelinux-openerp/ocb-addons/7.0_mail_thread_translate_bug1262000/+merge/207992
Your team Savoir-faire Linux' OpenERP is subscribed to branch 
lp:~savoirfairelinux-openerp/ocb-addons/7.0_mail_thread_translate_bug1262000.
=== modified file 'mail/mail_thread.py'
--- mail/mail_thread.py	2014-02-13 11:59:22 +0000
+++ mail/mail_thread.py	2014-02-24 18:20:20 +0000
@@ -251,7 +251,7 @@
 
         # automatic logging unless asked not to (mainly for various testing purpose)
         if not context.get('mail_create_nolog'):
-            self.message_post(cr, uid, thread_id, body=_('%s created') % (self._description), context=context)
+            self.message_post(cr, uid, thread_id, body=_('%s created') % (_(self._description)), context=context)
 
         # auto_subscribe: take values and defaults into account
         create_values = dict(values)

-- 
Mailing list: https://launchpad.net/~savoirfairelinux-openerp
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~savoirfairelinux-openerp
More help   : https://help.launchpad.net/ListHelp

Reply via email to