Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4535 มุมมอง

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.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 17
4713
1
พ.ย. 24
3001
2
ก.ย. 23
8212
Inherit from inherited view แก้ไขแล้ว
5
มิ.ย. 20
6947
2
ก.ย. 19
5281