projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28317e8
)
[FIX] mail: invite: name of the document was missing in the link to access the docume...
author
Thibault Delavallée
<tde@openerp.com>
Fri, 29 Aug 2014 10:58:55 +0000
(12:58 +0200)
committer
Thibault Delavallée
<tde@openerp.com>
Fri, 29 Aug 2014 11:08:10 +0000
(13:08 +0200)
addons/mail/wizard/invite.py
patch
|
blob
|
history
diff --git
a/addons/mail/wizard/invite.py
b/addons/mail/wizard/invite.py
index
9399e4f
..
e3916ec
100644
(file)
--- a/
addons/mail/wizard/invite.py
+++ b/
addons/mail/wizard/invite.py
@@
-91,6
+91,7
@@
class invite_wizard(osv.osv_memory):
mail_id = mail_mail.create(cr, uid, {
'model': wizard.res_model,
'res_id': wizard.res_id,
+ 'record_name': document.name_get()[0][1],
'email_from': self.pool['mail.message']._get_default_from(cr, uid, context=context),
'reply_to': self.pool['mail.message']._get_default_from(cr, uid, context=context),
'subject': _('Invitation to follow %s: %s') % (model_name, document.name_get()[0][1]),