Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[default.extend-words]
datas = "datas"
1 change: 1 addition & 0 deletions changelog.d/11.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for managing attachments
34 changes: 34 additions & 0 deletions docs/managers/account-move.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,40 @@ is_move_sent: bool

Whether or not the account move (invoice) has been sent.

### `message_main_attachment_id`

```python
message_main_attachment_id: int | None
```

The ID of the main [attachment](attachment.md) on the account move (invoice),
if there is one.

*Added in version 0.2.0.*

### `message_main_attachment_name`

```python
message_main_attachment_name: str | None
```

The name of the main [attachment](attachment.md) on the account move (invoice),
if there is one.

*Added in version 0.2.0.*

### `message_main_attachment`

```python
message_main_attachment: Attachment | None
```
The main [attachment](attachment.md) on the account move (invoice), if there is one.

This fetches the full record from Odoo once,
and caches it for subsequent accesses.

*Added in version 0.2.0.*

### `move_type`

```python
Expand Down
Loading