[FIX] mail: invite: name of the document was missing in the link to access the document, leading to 'Access False'.
This commit is contained in:
parent
28317e8003
commit
c51c908e85
|
@ -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]),
|
||||
|
|
Loading…
Reference in New Issue