mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Merge branch 'fix/15.0/H10618_rma__chatter_access_error' into '15.0'
WIP: fix/15.0/H10618_rma__chatter_access_error into 15.0 See merge request hibou-io/hibou-odoo/suite!1439
This commit is contained in:
@@ -161,7 +161,7 @@ class CustomerPortal(CustomerPortal):
|
|||||||
# should be submitted to indicate that a selection has occurred.
|
# should be submitted to indicate that a selection has occurred.
|
||||||
rma = rma_template._portal_try_create(request.env.user, res_id, **kw)
|
rma = rma_template._portal_try_create(request.env.user, res_id, **kw)
|
||||||
if rma:
|
if rma:
|
||||||
return request.redirect('/my/rma/' + str(rma.id))
|
return request.redirect(rma.get_portal_url())
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
error = e.name
|
error = e.name
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user