跳至内容
菜单
此问题已终结
1 回复
921 查看

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

形象
丢弃
编写者 最佳答案

It would be nice to have an answer ...

形象
丢弃
相关帖文 回复 查看 活动
4
5月 25
2486
2
5月 25
5843
1
3月 25
1668
4
3月 25
4455
3
2月 25
5456