How to install openerp-client-lib
This script automates the installation of openerp-server-5.0.3 & openerp-client-5.0.3 & openerp-web-5.0.3 on Ubuntu 8.04.3 LTS (server and desktop). The goal is to provide an all-in-one installer of OpenERP for Linux. OpenERP All-In-One Installation¶. Each time a new release of OpenERP is made, OpenERP supplies a complete Windows auto-installer for it. This contains all of the components you need – the PostgreSQL database server, the OpenERP application server and the GTK application client. Income Account set as default in openerp 6.1 Posted on 2012-06-01 Client crashing in new Kubuntu Posted on 2012-05-11 Need help in GTK Client to Disable the Folder Icon in. OpenERP Client Installation¶. The native GTK client is available as a legacy interface for users who still require it, but the recommended way to access OpenERP 6.1 is the built-in web interface.
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install openerp-client-lib
Python 2.7 | Python 3.2 | Python 3.3 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Windows (32-bit) |
| |||||||||
Windows (64-bit) |
| |||||||||
Mac OS X (10.5+) |
| |||||||||
Linux (32-bit) |
| |||||||||
Linux (64-bit) |
|
Links
Author
License
Imports
Lastest release
The OpenERP Client Library is a Python library to communicate with an OpenERP Server using its webservices in an user-friendly way. It was created for those that doesn't want to code XML-RPC callson the bare metal. It handles XML-RPC as well as JSON-RPC protocol and provides a bunch of syntaxicsugar to make things a lot easier.
The OpenERP Client Library is officially supported by OpenERP SA.
To consult the source code repository, report bugs or ask questions, see the Launchpad Project:
OpenERP Client Library Guide
First install the library:
Now copy-paste the following script describing a simple interaction with an OpenERP server:
In the previous script, the get_connection() method creates a Connection object that represents acommunication channel with authentification to an OpenERP server. By default, get_connection() usesXML-RPC, but you can specify it to use JSON-RPC. You can also change the port. Example with a JSON-RPCcommunication on port 6080:
The get_model() method on the Connection object creates a Model object. That object represents aremote model on the OpenERP server (for OpenERP addon programmers, those are also called osv).Model objects are dynamic proxies, which means you can remotely call methods in a natural way.In the previous script we demonstrate the usage of the search() and read() methods. That scenariois equivalent to the following interaction when you are coding an OpenERP addon and this code isexecuted on the server:
Also note that coding using Model objects offer some syntaxic sugar compared to vanilla addon coding:
You don't have to forward the 'cr' and 'uid' to all methods.
The read() method automatically sort rows according the order of the ids you gave it to.
The Model objects also provides the search_read() method that combines a search and a read, example:
Here are also some considerations about coding using the OpenERP Client Library:
- Since you are using remote procedure calls, every call is executed inside its own transaction. So it canbe dangerous, for example, to code multiple interdependant row creations. You should consider coding a methodinside an OpenERP addon for such cases. That way it will be executed on the OpenERP server and so it will betransactional.
- The browse() method can not be used. That method returns a dynamic proxy that lazy loads the rows' data fromthe database. That behavior is not implemented in the OpenERP Client Library.
Compatibility
- 1.0
- XML-RPC: OpenERP version 6.1 and superior
- 1.1
- XML-RPC: OpenERP version 6.1 and superior
- JSON-RPC: OpenERP version 8.0 (upcoming) and superior
Changelog
- 1.1.1:
- Updated documentation
- 1.1.0:
- Added JsonRPC support
- 1.0.4:
- Removed netrpc handler
- Added call to model methods with kwargs
- 1.0.2:
- added dates helper
Released:
OpenERP ETL Client allows to extract, transform and load data from any data source.
Project description
The OpenERP ETL Client Library is a Python library to extract transform and load dato from any datasource to OpenERP Server in an user-friendly way. To use this library you need install etl communitymodule on a OpenERP instance.
The OpenERP ETL Client Library is officially supported by Cubic ERP S.A.C.
To consult the source code repository, report bugs or ask questions, see the Public Branch of Cubic ERP:
To hire support contract and profesional services contact to us at info@cubicerp.com
OpenERP ETL Client Library Guide
First install the library:
Now you can run the ready jobs defined on OpenERP using the following script:
This script will be used on a programed cron task execution or as comand line script in order to ensurethe correct execution of ETL jobs defined on OpenERP GUI.
Compatibility
- 1.1
- XML-RPC: OpenERP version 6.1 and superior
- JSON-RPC: OpenERP version 8.0 (upcoming) and superior
Project details
Openerp Client Download Link
Release historyRelease notifications | RSS feed
1.1.1
1.1.0
0.1.1
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size openerp-client-etl-1.1.1.tar.gz (6.1 kB) | File type Source | Python version None | Upload date | Hashes |
Openerp 7
CloseHashes for openerp-client-etl-1.1.1.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | b3f0d3a2468a47e067cfd12c1e7ea30fb01c39155d209cb144c23d2caa0351e9 |
MD5 | e958554967eb212a6caf161b45cbe84f |
BLAKE2-256 | 32d14d2882b447f93ce37d8b951a7247c6ff0e227a570cb0a1ae48efc33827ff |