跳至內容
選單
此問題已被標幟
1 回覆
4562 瀏覽次數

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
4736
1
11月 24
3018
2
9月 23
8222
5
6月 20
6954
2
9月 19
5287