Merge lp:~openerp-dev/openobject-addons/7.0-opw-596725-han into lp:openobject-addons/7.0

Proposed by Hardik Ansodariya (OpenERP) on 2013-08-19
Status: Merged
Approved by: Naresh(OpenERP) on 2013-08-22
Approved revision: no longer in the source branch.
Merged at revision: 9633
Proposed branch: lp:~openerp-dev/openobject-addons/7.0-opw-596725-han
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+1/-1)
1 file modified
mail/wizard/ (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-596725-han
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) 2013-08-19 Approve on 2013-08-22
Review via email:

Description of the change


Fixed the issue of translation in follower invitation message.


To post a comment you must log in.
review: Approve

LGTM, thanks for the patch

revno: 9633 [merge]
revision-id: <email address hidden>

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mail/wizard/'
2--- mail/wizard/ 2013-04-25 08:52:56 +0000
3+++ mail/wizard/ 2013-08-19 09:49:39 +0000
4@@ -34,7 +34,7 @@
5 result = super(invite_wizard, self).default_get(cr, uid, fields, context=context)
6 if 'message' in fields and result.get('res_model') and result.get('res_id'):
7 document_name = self.pool.get(result.get('res_model')).name_get(cr, uid, [result.get('res_id')], context=context)[0][1]
8- message = _('<div>You have been invited to follow %s.</div>' % document_name)
9+ message = _('<div>You have been invited to follow %s.</div>') % document_name
10 result['message'] = message
11 elif 'message' in fields:
12 result['message'] = _('<div>You have been invited to follow a new document.</div>')