Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
8564 มุมมอง

Dear all,

I am using Odoo 12 and have the need of using geolocation on a module I am developing.

What I need to do is to get current user location (lat-long coordinates) when user clicks on a button but I do not know where to start.

Is there any module that allows me to easily achieve this?

I simple do not know where to start.

Thank you all in advance

Best regards

PM


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You can not geolocate a user, as a user has no address. You can only geolocate the related partner, see:

https://imgur.com/a/wQhtfwl


อวตาร
ละทิ้ง
ผู้เขียน

Thank you @Ermin Trevisan

It really makes send.

I will try to look at alternatives on OCA Geospatial and or standard HTML 5.

Regards

PM

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 25
3485
Bulk geolocate existing partners แก้ไขแล้ว
1
ธ.ค. 24
4087
0
ธ.ค. 24
923
0
มี.ค. 24
1297
0
ต.ค. 22
2493