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>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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>
Hi,
Try like below
<a t-att-href="'/web#id=%s&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>
Regards
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Nov 22
|
2192 | ||
|
0
May 24
|
309 | ||
|
1
May 24
|
2684 | ||
|
0
Dec 22
|
798 | ||
|
0
Oct 22
|
999 |
<a t-attf-href="/calendar/meeting/decline?token={{object.access_token}}&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>