Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have a stand alone python code that interacts with a few variables, im wondering if there is a way to conect to OpenERP and extract those variables from sale.order.
Is it possible?, how can i do it?
You can use openerp client lib (search for it on Github), and try this to start with:
import openerplib connection = openerplib.get_connection(hostname="localhost", database=dbname, login=username, password=pwd) sale_model = connection.get_model("sale.order") ids = sale_model.search() for id in ids: so = sale_model.read(id, ["name"]) print so
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/24/13, 10:31 AM|
|Seen: 1686 times|
|Last updated: 3/16/15, 8:10 AM|