vodoo account-move¶
Manage Odoo accounting moves (account.move) and attachments.
Commands¶
list¶
List accounting moves.
Options:
| Option | Type | Description |
|---|---|---|
--search |
TEXT | Search in name/ref/payment reference/origin |
--company |
TEXT | Filter by company name |
--company-id |
INT | Filter by company ID |
--partner |
TEXT | Filter by partner name |
--move-type |
TEXT | Filter by move type (e.g. out_invoice, in_invoice) |
--state |
TEXT | Filter by state (draft, posted, cancel) |
--year |
INT | Filter by accounting year |
--limit |
INT | Maximum number of moves (default: 50) |
--field / -f |
TEXT | Specific fields to fetch (can be used multiple times) |
show¶
Show detailed account move information.
Arguments:
| Argument | Type | Description |
|---|---|---|
move_id |
INT | Account move ID |
Options:
| Option | Type | Description |
|---|---|---|
--field / -f |
TEXT | Specific fields to fetch (can be used multiple times) |
attachments¶
List attachments for an account move.
Arguments:
| Argument | Type | Description |
|---|---|---|
move_id |
INT | Account move ID |
download¶
Download a single attachment by ID.
Arguments:
| Argument | Type | Description |
|---|---|---|
attachment_id |
INT | Attachment ID |
Options:
| Option | Type | Description |
|---|---|---|
--output |
PATH | Output file path (defaults to attachment name) |
download-all¶
Download all attachments from an account move.
Arguments:
| Argument | Type | Description |
|---|---|---|
move_id |
INT | Account move ID |
Options:
| Option | Type | Description |
|---|---|---|
--output / -o |
PATH | Output directory (defaults to current directory) |
--extension / --ext |
TEXT | Filter by file extension (e.g., pdf, jpg, png) |
attach¶
Attach a file to an account move.
Arguments:
| Argument | Type | Description |
|---|---|---|
move_id |
INT | Account move ID |
file_path |
PATH | Path to file to attach |
Options:
| Option | Type | Description |
|---|---|---|
--name / -n |
TEXT | Custom attachment name (defaults to filename) |
fields¶
List available fields or show field values for an account move.
Arguments:
| Argument | Type | Description |
|---|---|---|
move_id |
INT | Account move ID (optional) |
Options:
| Option | Type | Description |
|---|---|---|
--field-name |
TEXT | Show specific field |
url¶
Get the web URL for an account move.
Arguments:
| Argument | Type | Description |
|---|---|---|
move_id |
INT | Account move ID |