Archives de catégorie : Go

Go et Odoo

Petit code juste pour le fin pour utiliser Odoo avec Go Pour utliser ce code j’ai utilisé le client jsonrpc suivant git@github.com:puper/go-jsonrpc.git package main import ( « fmt » « github.com/puper/go-jsonrpc/jsonrpc » ) func main() { params := map[string]interface{}{« service »: »object », »method »: »execute », »args »:[]interface{}{« oev8″,1, »admin », »res.partner », »search »,[]interface{}{}}} conn := jsonrpc.NewClient(« http://127.0.0.1:8069/jsonrpc ») var response … Lire la suite

Publié dans Go, Language, OpenErp | 2 commentaires