ERPpeek

raw JSON →
1.7.2 verified Mon Apr 27 auth: no python deprecated

ERPpeek is a Python client library for OpenERP / Odoo, with a command-line interface for debugging and data access. The current version is 1.7.2. The project is not maintained; the recommended successor is Odooly.

pip install erppeek
error ImportError: No module named erppeek
cause Package not installed or virtual environment not activated.
fix
Run pip install erppeek and ensure your environment is correct.
error TypeError: __init__() takes at least 4 arguments (1 given)
cause Missing positional arguments for Client initialization.
fix
Use correct signature: Client('http://localhost:8069', 'db', 'user', 'password')
error erppeek.exceptions.AuthError: Authentication failed
cause Invalid database, username, or password.
fix
Verify Odoo instance running, database exists, and credentials correct.
deprecated ERPpeek is no longer maintained. Use Odooly instead.
fix Switch to Odooly (pip install odooly) and update import to `from odooly import Odoo`.
gotcha Authentication: The Client class expects positional arguments (url, db, user, password). Keyword argument names may differ from actual parameters. Verify docs for exact signature.
fix Use positional arguments: Client('http://localhost:8069', 'db_name', 'username', 'password')
gotcha Model method names: Some Odoo methods (e.g., search_read) may not be directly available. Use combination of search and read.
fix Use client.search(model, domain) then client.read(model, ids) instead of search_read.

Basic client initialization and a simple search.

from erppeek import Client
client = Client('http://localhost:8069', db='my_db', user='admin', password='admin')
# Example: search partners
partner_ids = client.search('res.partner', [('is_company', '=', True)])
print(partner_ids)