I am new using odoo and I have to connect odoo V8 with other API application. I learn how to consume the API from Python code and work fine, but I can't find documentation about how consume it using odoo. I appreciate any help.
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
In my case was so simple like install google map library on my Ubuntu server an consume it inside a method.
import googlemaps
gmaps = googlemaps.Client(key='my_especial_key')
geocode_result = gmaps.geocode(street + ", " + street2 + ", " + city + ", " + zip)
raise osv.except_osv(("Warning!"), (str(geocode_result[0]['formatted_address']) + " (lat: " +str(geocode_result[0]['geometry']['location']['lat']) + ") (lng: "+ str(geocode_result[0]['geometry']['location']['lng']) +")"))
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|  | 2 2月 22  | 6182 | ||
|  | 0 2月 24  | 4454 | ||
|  | 2 9月 15  | 5309 | ||
|  | 0 5月 15  | 3680 | ||
|  | 1 6月 24  | 2319 | 
