Skip to Content
Menu
This question has been flagged
1 Reply
1107 Views

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

Avatar
Discard
Best Answer

In odoo v16:

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


Avatar
Discard
Related Posts Replies Views Activity
2
Aug 25
128
5
Aug 25
9886
2
Jul 25
1002
4
Jun 25
1133
1
Jun 25
1448