Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1133 Visualizações

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
Cancelar
Melhor resposta

In odoo v16:

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


Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
ago. 25
481
5
ago. 25
9984
2
jul. 25
1031
4
jun. 25
1178
1
jun. 25
1489