CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
This works on http but not https
def index(self, **kw): cr, uid, context, registry = request.cr, request.uid, request.context, request.registry mdl_wac = registry.get('wrapper_allclients.wrapper_allclients'); url = mdl_wac.allclients_user_url(cr, uid) return werkzeug.utils.redirect(url)
So this controller does a redirect to an external url. I have an apache proxy setup for both 80 and 443. Everything else Odoo works on both ports but this. The behavior is this:
redirects to https://external.url.com/path?querystring
redirects to https://odoo.url.com/path?querystring
So the path and query string are correct but for some reason when on https it removes the domain and replaces with odoo domain.
About This Community
Odoo Training Center
|Asked: 7/1/15, 12:28 PM|
|Seen: 2023 times|
|Last updated: 7/2/15, 12:11 AM|