Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5262 Vizualizări

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 

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
mar. 24
2328
2
aug. 23
2385
2
mai 23
2586
1
apr. 23
2739
0
iun. 22
1581