Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4643 Lượt xem

i want the ID value to be dynamic in the URL, right syntax pls ?

<at-attf-href="/web#id={{object.id}}&menu_id=202&cids=1%2C3&action=944&model=staff.recruitment&view_type=form">LINK TO REQUESTa>


Ảnh đại diện
Huỷ bỏ

<a t-attf-href="/calendar/meeting/decline?token={{object.access_token}}&amp;id={{object.event_id.id}}"
style="padding: 5px 10px; color: #FFFFFF; text-decoration: none; background-color: #875A7B; border: 1px solid #875A7B; border-radius: 3px">
Decline</a>

Câu trả lời hay nhất

Hi,


Try like below

<a t-href="'/web#id=%s&menu_id=202&cids=1,3&action=944&model=staff.recruitment&view_type=form' % (object.id)"

   style="background-color: #9E588B; margin-top: 10px; padding: 10px; text-decoration: none; color: #fff; border-radius: 5px; font-size: 16px;">

   LINK TO REQUEST

</a>



Hope this helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 11 22
3341
1
thg 4 25
4525
0
thg 5 24
1445
0
thg 12 22
1503
0
thg 10 22
1835