vodoo document¶
Manage Odoo Documents files and folders (requires Odoo Enterprise).
Commands¶
upload¶
Upload a file to Odoo Documents.
Arguments:
| Argument | Type | Description |
|---|---|---|
file_path |
PATH | Path to the file to upload |
Options:
| Option | Type | Description |
|---|---|---|
--folder / -f |
TEXT | Destination folder exact name |
--folder-id |
INT | Destination folder ID |
--tag |
TEXT | Document tag ID or exact name (repeatable) |
--owner |
TEXT | Owner user ID, login, or exact name |
--name / -n |
TEXT | Custom document name (defaults to filename) |
list¶
List files in Odoo Documents.
Options:
| Option | Type | Description |
|---|---|---|
--folder / -f |
TEXT | Filter by folder ID or exact name |
--limit |
INT | Maximum number of documents (default: 50) |
download¶
Download a file from Odoo Documents.
Arguments:
| Argument | Type | Description |
|---|---|---|
document_id |
INT | Document ID |
Options:
| Option | Type | Description |
|---|---|---|
--output / -o |
PATH | Output path (defaults to document name) |
folders¶
List available Odoo Documents folders.
Options:
| Option | Type | Description |
|---|---|---|
--tree |
BOOL | Show hierarchy order, depth, and full path |
--limit |
INT | Maximum number of folders (default: 50) |