Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4566 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
wrz 17
4740
1
lis 24
3024
2
wrz 23
8225
5
cze 20
6956
2
wrz 19
5288