콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4549 화면

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.

아바타
취소
베스트 답변

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.

아바타
취소
관련 게시물 답글 화면 활동
0
9월 17
4717
1
11월 24
3004
2
9월 23
8218
5
6월 20
6951
2
9월 19
5282