Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1153 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

In odoo v16:

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sie 25
596
5
sie 25
10079
2
lip 25
1091
4
cze 25
1257
1
cze 25
1580