From adca4573c6d3c5f2a4ddbae20bb52af8eb1856ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Fri, 21 Mar 2014 13:30:29 +0100 Subject: [PATCH] [DOC] mail: updated docstring of a method taht was not up to date bzr revid: tde@openerp.com-20140321123029-kbfy73ecxidshnnb --- addons/mail/mail_mail.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/mail/mail_mail.py b/addons/mail/mail_mail.py index 87f8c9ce7ef..482fa97e1f7 100644 --- a/addons/mail/mail_mail.py +++ b/addons/mail/mail_mail.py @@ -145,9 +145,8 @@ class mail_mail(osv.Model): #------------------------------------------------------ def _get_partner_access_link(self, cr, uid, mail, partner=None, context=None): - """ Generate URLs for links in mails: - - partner is an user and has read access to the document: direct link to document with model, res_id - """ + """ Generate URLs for links in mails: partner has access (is user): + link to action_mail_redirect action that will redirect to doc or Inbox """ if partner and partner.user_ids: base_url = self.pool.get('ir.config_parameter').get_param(cr, uid, 'web.base.url') # the parameters to encode for the query and fragment part of url