Async Helpdesk¶
AsyncHelpdeskNamespace for the helpdesk.ticket model (Odoo Enterprise), accessed as client.helpdesk on AsyncOdooClient.
helpdesk
¶
Async helpdesk domain namespace for Vodoo.
AsyncHelpdeskNamespace
¶
AsyncHelpdeskNamespace(client: AsyncOdooClient)
Bases: _HelpdeskAttrs, AsyncDomainNamespace
Async namespace for helpdesk.ticket operations.
Source code in src/vodoo/aio/_domain.py
create
async
¶
create(name: str, *, description: str | None = None, partner_id: int | None = None, tag_ids: list[int] | None = None, team_id: int | None = None, **extra_fields: Any) -> int
Create a helpdesk ticket.
| PARAMETER | DESCRIPTION |
|---|---|
name
|
Ticket title/name.
TYPE:
|
description
|
Ticket description (HTML or plain text).
TYPE:
|
partner_id
|
Customer partner ID.
TYPE:
|
tag_ids
|
List of tag IDs to apply.
TYPE:
|
team_id
|
Helpdesk team ID.
TYPE:
|
**extra_fields
|
Additional fields to set on the ticket.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
int
|
ID of created ticket. |