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

I see that in the website module each visitor has their own IDs. Can we obtain that id from the request using things like  request.env['website.visitor']?
Thanks in advanced

形象
丢弃
最佳答案

In odoo v16:

request.env['website.visitor']._get_visitor_from_request()


形象
丢弃
相关帖文 回复 查看 活动
3
9月 25
2049
Login Website 已解决
3
9月 25
148451
1
9月 25
1141
4
9月 25
5851
2
8月 25
1229