Odoo Help

0
0

Hi ,

I know one that you can do the calling OpenERP framework the main purpose of OpenERP tools is for installing, configuring and managing instances and servers.

it can be found here https: // launchpad.net / oerptools

and it gives you some clues of how to use ORM interactively from the interpreter. and some clue of doing CRUD as well . Hope this is what you are looking for.

0
Dharmesh Rathod
On 6/1/13, 1:55 AM

Hi,

You can call OpenERP API from python prompt. Use xmlrpclib library of python and call API.

Example :

import xmlrpclib s_str = 'http://localhost:8069/xmlrpc/object' sock = xmlrpclib.ServerProxy(s_str)

prod_ids = sock.execute(DBNAME, USERID, PASSWD, 'product.product','search', [])

print prod_ids

This way you can call other API like create, read, write, unlink and also method of object from python prompt.

Email : info@acespritech.com
Skype : acespritech
Blog : acespritechblog.wordpress.com

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 5/31/13, 11:12 PM
Seen: 3236 times
Last updated: 3/16/15, 8:10 AM