@asmozia/odoo-client
TypeScript icon, indicating that this package has built-in type declarations

0.21.0 • Public • Published

Odoo API

This is a library for interacting with the Odoo API. It was generated with Nx.

Installation

Use the package manager npm to install odoo-client.

npm install odoo-client

Usage

import { OdooClient } from 'odoo-client';

const api = new OdooClient();

// Use the api
api
  .search('rh.employee', ['name', 'John'], { limit: 10 })
  .then((users) => console.log(users))
  .catch((error) => console.error(error));

Building

Run the following command to build the library:

nx build odoo-client

Running Tests

To execute the unit tests via Vitest, run the following command:

nx test odoo-client

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @asmozia/odoo-client

Weekly Downloads

6

Version

0.21.0

License

none

Unpacked Size

18.4 kB

Total Files

9

Last publish

Collaborators

  • nicolas-moreau
  • dsi-asmozia