Skip to content

kineticdata/peripherals-odoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

peripherals-odoo

Odoo is an open-source suite of business applications including CRM, eCommerce, accounting, inventory, HR, and project management.

Connections

  • Odoo (odoo_http.json) — JSON API connection using bearer token authentication

Operations

res.users

Operation Description
Create User Creates a new user
Retrieve User Returns a single user by ID
Retrieve User by Email Returns a single user by email address
Retrieve User by Login Returns a single user by login
Search Users Returns users filtered by domain filter
List All Users Returns all users without filtering
Update User Modifies an existing user by ID
Remove User Deletes a user by ID

hr.employee

Operation Description
Create Employee Creates a new employee
Retrieve Employee Returns a single employee by ID
Search Employees Returns employees filtered by domain filter
List All Employees Returns all employees without filtering
Update Employee Modifies an existing employee by ID
Remove Employee Deletes an employee by ID

hr.job

Operation Description
Create Job Position Creates a new job position
Retrieve Job Position Returns a single job position by ID
Search Job Positions Returns job positions filtered by domain filter
List All Job Positions Returns all job positions without filtering
Update Job Position Modifies an existing job position by ID
Remove Job Position Deletes a job position by ID

Query Parameter

Search operations accept a Query parameter using Odoo's domain filter syntax. Each condition is a triple of ["field", "operator", "value"].

Operators

Operator Description
= Equals
!= Not equals
>, >=, <, <= Comparison
like Pattern match (case-sensitive)
ilike Pattern match (case-insensitive)
in Value in list
not in Value not in list

Examples

Single condition:

["email", "=", "user@example.com"]

Multiple conditions (AND'd together):

["department_id", "=", 5], ["active", "=", true]

Pattern matching:

["name", "ilike", "smith"]

Value in a list:

["id", "in", [1, 2, 3]]

Optional Parameters

Search and List All operations also support:

Parameter Type Description
Fields Quoted List Limit which fields are returned (e.g., "name", "email", "login")
Limit Number Maximum number of records to return
Offset Number Number of records to skip (for pagination)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors