How to convert as geo_point Datatype as latitude and longitude, I'm using base_engine module, i want to convert as geo_point datatype, how to do this what is the syntax for this. Anybody know this share your knowledge.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
Hi Sridhar,
If you have GeoPoint object then you can get the lat & long by GeoPoint_obj.latitude and GeoPoint_obj.longitude
https://developers.google.com/appengine/docs/python/search/geopointclass#geopoint_latitude
Please check and let me know :)
In OpenERP we have module base_geoengine, in this module all the functionality are there like geo_point, geo_line, in Openerp how to give this, 'abc':fields.geo_point.latitude("ABC"), is this a correct syntax?