Skip to Content
Menu
This question has been flagged
1 Atsakyti
1156 Rodiniai

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

Portretas
Atmesti
Best Answer

In odoo v16:

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


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
rugp. 25
605
5
rugp. 25
10084
2
liep. 25
1092
4
birž. 25
1264
1
birž. 25
1583