Skip to main content

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 hashes)

Uploaded Source

Built Distribution

odoorpc_toolbox-0.0.7-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page