mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Merge branch 'fix/14.0/rma__chatter_access_error' into '14.0-test'
fix/14.0/rma__chatter_access_error into 14.0-test See merge request hibou-io/hibou-odoo/suite!1440
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</thead>
|
||||
<t t-foreach="rmas" t-as="rma">
|
||||
<tr>
|
||||
<td class="text-left"><a t-attf-href="/my/rma/#{rma.id}"><span t-field="rma.name"/></a></td>
|
||||
<td class="text-left"><a t-att-href="rma.get_portal_url()"><span t-field="rma.name"/></a></td>
|
||||
<td><span t-field="rma.create_date"/></td>
|
||||
<td class="rma-template">
|
||||
<span t-if="groupby != 'template'" t-field="rma.template_id"/>
|
||||
|
||||
Reference in New Issue
Block a user