Pergunta

I'm currently working on a mobile app that connects with an openerp 7 instance though XML-RPC. Although xmlrpc comm between iOS & Openerp 7 works perfectly, I'm puzzled at which objects I need to interact with at the openerp side in order to get the product list with only the items I want and to post a sale.

Any one?

Thanx, M

Foi útil?

Solução

Working through XML-RPC is pretty much like working directly on the server, only slower.

To get the product list you'll need to interact wit product.product, and to narrow the list (and the data) you'll need to specify a domain such as domain=[('color','=','red'),('style','=','sport')] and fields=['id','name','...'].

Hopefully that's enough to get you going.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top