upload_attachment
Attach a base64-encoded file to an Odoo record by providing the model, record ID, filename, and file data.
Instructions
Attach a file (base64) to a record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Technical model name, e.g. 'res.partner' | |
| filename | Yes | ||
| mimetype | No | ||
| record_id | Yes | One record id | |
| data_base64 | Yes |