diff --git a/rma/controllers/portal.py b/rma/controllers/portal.py index 81b501c6..6d97b80a 100644 --- a/rma/controllers/portal.py +++ b/rma/controllers/portal.py @@ -161,7 +161,7 @@ class CustomerPortal(CustomerPortal): # should be submitted to indicate that a selection has occurred. rma = rma_template._portal_try_create(request.env.user, res_id, **kw) if rma: - return request.redirect('/my/rma/' + str(rma.id)) + return request.redirect(rma.get_portal_url()) except ValidationError as e: error = e.name