create_activity
Schedule a deadline-driven activity on any Odoo record that appears in the assignee's To-Do list and turns overdue when the date passes.
Instructions
Schedule an activity: the only notification that carries a deadline.
A chatter note is passive. An activity appears in the assignee's To-Do list and turns overdue when the date passes.
Args: model: the Odoo model, e.g. "crm.lead". record_id: id of the record the activity hangs off. summary: the one-line title the assignee will read. user_id: res.users id of the assignee. days: deadline offset from today, in days. activity_type: substring of an activity type name, e.g. "call". Activity types differ per instance; the first available type is used when this is omitted or matches nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| model | Yes | ||
| summary | Yes | ||
| user_id | Yes | ||
| record_id | Yes | ||
| activity_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |