access link doesn't work with website

Bug #1283394 reported by Ivan Yelizariev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
Unassigned

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)))

Revision history for this message
Thibault Delavallée (OpenERP) (tde-openerp) wrote :

Fixed in saas-3 at revision 9204 (revid <email address hidden>).

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.