← Back to team overview

openerp-india team mailing list archive

[Bug 1283394] [NEW] access link doesn't work with website

 

Public bug reported:

Steps to reproduce:
1. run openerp v8 with --db-filter
2. install website
3. do something to receive notification with footer
4. at email notification you get url at footer like this http://localhost:8069/?db=itprojects#action=mail.action_mail_redirect&login=admin&message_id=1014
5. this url return just website main page


But this url return correct page:
http://localhost:8069/web?db=itprojects#action=mail.action_mail_redirect&login=admin&message_id=1014

My suggestion is to update function _get_partner_access_link at
addons/mail/mail_mail.py

- url = urljoin(base_url, "?%s#%s" % (urlencode(query), urlencode(fragment)))
+ url = urljoin(base_url, "web?%s#%s" % (urlencode(query), urlencode(fragment)))

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1283394

Title:
  access link doesn't work with website

Status in OpenERP Addons (modules):
  New

Bug description:
  Steps to reproduce:
  1. run openerp v8 with --db-filter
  2. install website
  3. do something to receive notification with footer
  4. at email notification you get url at footer like this http://localhost:8069/?db=itprojects#action=mail.action_mail_redirect&login=admin&message_id=1014
  5. this url return just website main page

  
  But this url return correct page:
  http://localhost:8069/web?db=itprojects#action=mail.action_mail_redirect&login=admin&message_id=1014

  My suggestion is to update function _get_partner_access_link at
  addons/mail/mail_mail.py

  - url = urljoin(base_url, "?%s#%s" % (urlencode(query), urlencode(fragment)))
  + url = urljoin(base_url, "web?%s#%s" % (urlencode(query), urlencode(fragment)))

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1283394/+subscriptions


Follow ups

References