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

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1262000 in OpenERP Addons: "[trunk/7.0]OE chatter's doesn't translate 
created objects in mail_thread widget"
  https://bugs.launchpad.net/openobject-addons/+bug/1262000

For more details, see:
https://code.launchpad.net/~savoirfairelinux-openerp/openobject-addons/trunk_mail_thread_translate_bug1262000/+merge/199373

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/openobject-addons/trunk_mail_thread_translate_bug1262000/+merge/199373
Your team Savoir-faire Linux' OpenERP is subscribed to branch 
lp:~savoirfairelinux-openerp/openobject-addons/trunk_mail_thread_translate_bug1262000.
=== modified file 'mail/mail_thread.py'
--- mail/mail_thread.py	2013-12-09 10:50:31 +0000
+++ mail/mail_thread.py	2013-12-17 23:50:14 +0000
@@ -348,7 +348,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)
 
         # subscribe uid unless asked not to
         if not context.get('mail_create_nosubscribe'):

-- 
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