Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1135 Vistas

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
Descartar
Mejor respuesta

In odoo v16:

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


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 25
487
5
ago 25
9990
2
jul 25
1042
4
jun 25
1194
1
jun 25
1508