Helper Functions for OdooRPC.
Project description
odoorpc-toolbox
====================================================================================
This is a simple python library that extends the functionality of Odoo RPC and contains helper functions.
Installation
odoo-fast-report-mapper requires:
- Python (>= 3.8)
- OdooRPC (>= 0.9.0)
- PyYaml (>= 5.4.1)
Use the package manager pip to install odoorpc-toolbox.
pip install odoorpc-toolbox
Usage
You need to have a Yaml file with the connection parameters.
The library contains two packages:
- odoo_connection with OdooConnection That contains only the connection to the RPC with already setup Parameters.
- base_helper with EqOdooConnection That is an extension of the OdooConnection with useful functions.
example
base_path = os.path.dirname(os.path.abspath(__file__))
helper = base_helper.EqOdooConnection(base_path + '/config.yaml')
odoo = helper.odoo
RES_PARTNER = odoo.env['res.partner']
Options
This project is licensed under the terms of the AGPLv3 license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
odoorpc-toolbox-0.0.7.tar.gz
(16.5 kB
view details)
Built Distribution
File details
Details for the file odoorpc-toolbox-0.0.7.tar.gz
.
File metadata
- Download URL: odoorpc-toolbox-0.0.7.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae84c14a049476c367ae9f4a08c7e144a4a12ad0bdb0cfd0574711821b99e372 |
|
MD5 | f85925766136fca1afa11d84885fb499 |
|
BLAKE2b-256 | a31e5a650a72713bd4a3846b572782e97c4b03ccbd482d7728f5295b828a5295 |
File details
Details for the file odoorpc_toolbox-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: odoorpc_toolbox-0.0.7-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce593d36d8dabacb2e9915a42a95d065f4337e0678e276c57887827b1988c7d8 |
|
MD5 | d4e40374ff8f8c41192cdb38cf836e08 |
|
BLAKE2b-256 | 0fdb07abbaf9772ccad5bc9053c8f6914956344bbac4ea9e77118211210583ab |