Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5297 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
bře 24
2430
2
srp 23
2428
2
kvě 23
2638
1
dub 23
2827
0
čvn 22
1671