Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Module to access OpenERP objects pythonically

Project Description

Œrsted is a library to access OpenERP objects pythonicaly. It allows you to do stuff like

>>> from oersted import OEClient
>>> oeclient = OEClient('localhost')
>>> oeclient.login('database', 'admin', 'password')
>>> Product = oeclient.create_browse('database', 'product.product')
>>> product = Product(1)  # Fetch product with id == 1
u'Flan au Chocolat'
>>> product.categ_id
<oersted.browse.product.category object at 0xb74abf6c>
>>> print product.categ_id
<product.category 4@database>
>>> for seller_info in product.seller_ids:
...     print seller_info,
<product.supplierinfo 3@database> Chocolate Ltd

Œrsted also provide a way to use defaults/onchange’s and view specific stuffs:

>>> View = oeclient.create_view('database', 'sale.view_order_form')
>>> n_view = View()
>>> n_view.partner_id = Partner(4)
>>> n_view.pricelist_id
<oersted.browse.product.pricelist object at 0xb56ghc3>

That some might find usefull

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(36.9 kB) Copy SHA256 Hash SHA256
Source None Nov 29, 2010

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting