Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4537 Weergaven

Hello everybody!!

I am creating a special view for the menu Calendar.

In fact, i have inherited the template in the xml view but now my problem is that this modification is needed onley for the calendar view.

So my friends, what i need is how to know the active view or action or how to get the completed URL.

I have tried this: 

<p><t t-esc="request.httprequest.url_root"></t></p>

but it doesnt contain the view_id nor the cation_id.

Need Your help please.

Thanks a lot in advance.

Best regards.

Avatar
Annuleer
Beste antwoord

Activate developer mode and on the calendar view click on "open developer tools" (left to your username). Choose from there "Edit View Calendar" and you will find the view id.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
sep. 17
4713
1
nov. 24
3003
2
sep. 23
8212
5
jun. 20
6947
2
sep. 19
5281