Skip to Content
Menu
This question has been flagged
1 Reply
1204 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
1
Sep 25
330
5
Aug 25
4937
2
Aug 25
1592
2
Aug 25
792
5
Aug 25
10235