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

I need to send out survey to different customer and I cannot figure out the correct syntax for the link.

Could someone help me with the correct syntax? in odoo 13 it looke like this :

<a href="${('%s?answer_token=%s' % (object.survey_id.public_url, object.token)) | safe}"


But in odoo 17 this does not work. I need the link to return something along these lines :

https://odoo.mycompany.com/en_US/survey/start/123456fa-ab6c-4ae2-8294-45e67f58f348?answer_token=eb7e531c-7d20-41c1-a36f-a3ef1fa9abcd


where en_US is the enduser default browser language

where the survey ID is dynamic

and the answer token is dynamic


thanks in advance for the help!

Eve-Line

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

It would be nice to have an answer ...

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 5 25
2510
2
thg 5 25
5866
1
thg 3 25
1689
4
thg 3 25
4474
3
thg 2 25
5478