Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5583 Vues

I'm developing an odoo15 module using the community version and I need to get the current geo location of the logged in user 


does anyone have an idea of how can I do something like that? how can I get the current geo location of a user once he login 

Avatar
Ignorer
Meilleure réponse

Hello!

Odoo 15.0 has internal functionality to get users' geolocation. It can be taken from "request":

request.session['geoip']

The detailed answer there: https://www.odoo.com/documentation/15.0/applications/websites/website/publish/on-premise_geo-ip-installation.html


Yurii Razumovskiy

Company Garazd Creation

https://garazd.biz

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
sept. 25
2894
2
août 23
2897
2
mai 23
3058
1
avr. 23
3267
0
juin 22
2082