Skip to Content
मेन्यू
This question has been flagged
1 Reply
5527 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
3
सित॰ 25
2846
2
अग॰ 23
2782
2
मई 23
2939
1
अप्रैल 23
3180
0
जून 22
2020