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
1355 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ść
3
wrz 25
2069
Login Website Rozwiązane
3
wrz 25
148823
1
wrz 25
1157
4
wrz 25
5875
2
sie 25
1247