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

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>


อวตาร
ละทิ้ง

<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>

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 22
3336
1
เม.ย. 25
4519
0
พ.ค. 24
1434
0
ธ.ค. 22
1501
0
ต.ค. 22
1834