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

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


形象
丢弃
相关帖文 回复 查看 活动
2
8月 25
162
5
8月 25
9891
2
7月 25
1005
4
6月 25
1134
1
6月 25
1449