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:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
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']) +")"))
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
2
helmik. 22
|
5611 | ||
|
0
helmik. 24
|
3838 | ||
api.onchange v8 doesnt work
Ratkaistu
|
|
2
syysk. 15
|
4651 | |
|
0
toukok. 15
|
3127 | ||
|
1
kesäk. 24
|
1719 |