Skip to content

[Components] odoo #15359

Closed
Closed
@pipedream-component-development

Description

odoo

URLs

Polling Sources

new-lead

Description

Emit new event when a lead is created in Odoo. Configure required props, such as the module and lead stage to monitor. Optionally, specify additional filters to refine the leads monitored.

Actions

create-lead

Description

Create a new lead in Odoo. Props required: 'name' (string) for the lead name, and 'contact_info' (object) for details like email or phone. Optional props include 'tags' (array of strings) to categorize the lead and 'priority' (string) to specify lead importance.

search-and-read-records

Description

Search and read records from any Odoo model in a single operation. Props required: 'model' (string) for the Odoo model name (e.g., 'res.partner', 'crm.lead'). Optional props include 'domain' (array) for search filters using Odoo domain syntax, 'fields' (array of strings) to specify which fields to return, 'limit' (integer) to control maximum results, and 'offset' (integer) for pagination.

create-record

Description

Create a new record in any Odoo model using the create method. Props required: 'model' (string) for the target Odoo model name and 'values' (object) containing the field values for the new record. The action returns the database identifier of the created record. For any field which has a default value and is not set through the values, the default value will be used.

update-records

Description

Update existing records in any Odoo model using the write method. Props required: 'model' (string) for the target Odoo model name, 'ids' (array of integers) containing the record IDs to update, and 'values' (object) with the field values to set. Multiple records can be updated simultaneously, but they will all get the same values for the fields being set. Returns boolean indicating success.

Metadata

Metadata

Assignees

Labels

triagedFor maintainers: This issue has been triaged by a Pipedream employee

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions