interface OdooV2NodeParameters {
activity_type_id?: {
mode: "id" | "list";
value: string;
};
activityId?: { mode: "id"
| "list"; value: string };
authentication?: "odooApi" | "odooApiKeyApi";
contactId?: { mode: "id" | "list"; value: string };
customResource?: { mode: "id" | "list"; value: string };
filters?:
| { res_id?: number; res_model?: string }
| {
filter: {
fieldName?: string;
operator?:
| "equal"
| "in"
| "notEqual"
| "like"
| "lesserThen"
| "lesserOrEqual"
| "greaterThen"
| "greaterOrEqual"
| "childOf"
| "notIn";
value?: string;
}[];
};
limit?: number;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "delete";
opportunityId?: { mode: "id"
| "list"; value: string };
options?:
| { fieldsList?: unknown[] }
| { fieldsList?: string };
recordId?: { mode: "id" | "list"; value: string };
res_id?: { mode: "id" | "list"; value: string };
res_model?: { mode: "id" | "list"; value: string };
resource?:
| "contact"
| "custom"
| "opportunity"
| "activity";
returnAll?: boolean;
}Properties§
readonly activity _ type _ id?: { ... }readonly activity Id?: { ... }Activity to delete Default: {"mode":"list","value":""}
readonly authentication?: "odooApi" | "odooApiKeyApi"Default: "odooApiKeyApi"
readonly contact Id?: { ... }Contact to delete Default: {"mode":"list","value":""}
readonly custom Resource?: { ... }The Odoo model to operate on Default: {"mode":"list","value":""}
readonly filters?:
| { res_id?: number; res_model?: string }
| {
filter: {
fieldName?: string;
operator?:
| "equal"
| "in"
| "notEqual"
| "like"
| "lesserThen"
| "lesserOrEqual"
| "greaterThen"
| "greaterOrEqual"
| "childOf"
| "notIn";
value?: string;
}[];
}Default: {}
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}
readonly operation?: "create" | "get" | "getAll" | "update" | "delete"Default: "getAll"
readonly opportunity Id?: { ... }Opportunity to delete Default: {"mode":"list","value":""}
readonly options?: { fieldsList?: unknown[] } | { fieldsList?: string }Default: {}
readonly record Id?: { ... }Record to delete Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["customResource.value"]}
readonly res _ id?: { ... }Record to attach the activity to Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["res_model.value"]}
readonly res _ model?: { ... }The Odoo model of the document to attach the activity to Default: {"mode":"list","value":""}
readonly resource?: "contact" | "custom" | "opportunity" | "activity"Default: "contact"
readonly return All?: booleanWhether to return all results or only up to a given limit
Type of activity to schedule Default: {"mode":"list","value":""}