[FIX] portal: remove adresses box in portal

Steps to reproduce:
- Install eCommerce
- Go to My account

Issues:
There is a box "Addresses" which is useless for the moment as it's
the same page that can be accessed by clicking on "Edit information".

The feature to have multiple addresses is going to be present in master at some point, however for now we're removing the box as it's useless.

opw-3869920

closes odoo/odoo#162626

Signed-off-by: Mattis Megevand (mmeg) <mmeg@odoo.com>
This commit is contained in:
Mattis Megevand
2024-04-25 11:21:49 +00:00
parent 770e32eeb2
commit 3b3d4cb55b
+1 -7
View File
@@ -228,13 +228,7 @@
<div t-if="portal_service_category_enable" class="o_portal_category row g-2 mt-3" id="portal_service_category"/>
<div t-if="portal_vendor_category_enable" class="o_portal_category row g-2 mt-3" id="portal_vendor_category"/>
<div class="o_portal_category row g-2 mt-3" id="portal_common_category">
<t t-call="portal.portal_docs_entry">
<t t-set="icon" t-value="'/portal/static/src/img/portal-addresses.svg'"/>
<t t-set="title">Addresses</t>
<t t-set="text">Add, remove or modify your addresses</t>
<t t-set="url" t-value="'/my/account'"/>
<t t-set="config_card" t-value="True"/>
</t>
<t t-call="portal.portal_docs_entry" t-if="False"/>
<t t-call="portal.portal_docs_entry">
<t t-set="icon" t-value="'/portal/static/src/img/portal-connection.svg'"/>
<t t-set="title">Connection &amp; Security</t>