Skip to content
Snippets Groups Projects
Commit c51c908e authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] mail: invite: name of the document was missing in the link to access the...

[FIX] mail: invite: name of the document was missing in the link to access the document, leading to 'Access False'.
parent 28317e80
No related branches found
No related tags found
No related merge requests found
......@@ -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]),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment