I want to display the custom menu on the odoo portal view. XML File:
```
"1.0" encoding="UTF-8"?>
<odoo>
<data>
<template id="portal_my_home_loan" name="Partner Loan"
customize_show="True" inherit_id="portal.portal_my_home">
<xpath expr="//div[hasclass('o_portal_docs')]" position="inside">
<t t-call="portal.portal_docs_entry">
<t t-set="title">Partner Loant>
<t t-set="url" t-value="'/my/loan'" />
t>
xpath>
template>
data>
odoo>
```
Controller file:
from odoo.addons.portal.controllers.portal import CustomerPortal class PortalAccount(CustomerPortal): def _prepare_home_portal_values(self, counters): values = super()._prepare_home_portal_values(counters) values['loan_count'] = 1 return values
Have added portal
to depends in the manifest file as well as template.xml to the manifest file.
Still can't see the menu on my portal view of the user. Any idea where I could go have gone wrong?
Manifest file:
'depends' : ['base', 'product', 'portal'],
'data': ['views/template.xml']
Dd you find a solution? i've the same problem, noo menu Customize --> My portal in Odoo 16
Did you solved? I have the same issue
Missing this line *<t-set="placeholder_count" t-value="'job_count'"/>*