TIP: You can type at any time to perform a new search.
Attachment Queue
attachment_queue · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Generic Modules
- Folder size
- 0.23 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-tools
- Last tracking update
- 2026-08-07 08:42:58
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Stefan Rijnhart, Florian da Costa, David Beal, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- openupgradelib, requests
- System dependencies
- None
- Required by
- attachment_synchronize
- Description
This module adds async processing capabilities to attachments by implementing a new model attachment.queue that wraps attachments and stores additional information so that it can be processed in an asynchronous way. A use case of this module can be found in the attachment_synchronize module.
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_attachment_queue_form |
attachment.queue | form | Inherits base.view_attachment_form | |
view_attachment_queue_list |
attachment.queue | list | New | |
view_attachment_queue_search |
attachment.queue | search | New | |
view_reschedule_attachment |
Reschedule Attachments | attachment.queue.reschedule | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (6)
-
attachment_idMany2one → ir.attachmenthelp='Link to ir.attachment model 'ondelete='cascade'required=True args: 'ir.attachment' -
date_doneDatetime -
failure_emailsCharcompute='_compute_failure_emails'help='Comma-separated list of email addresses to be notified in case offailure' -
file_typeSelectionhelp='The file type determines an import method to be used to parse and transform data before their import in ERP or an export'index='btree'selection=[] -
stateSelectiondefault='pending'index='btree'readonly=Falserequired=True args: [('pending', 'Pending'), ('done', 'Done'), ('failed', 'Failed')] -
state_messageText
-
button_manual_run(self)Run the process for an individual attachment queue from a dedicated button -
button_reschedule(self) -
create(self, vals_list)@api.model_create_multi -
run(self)Run the process for an individual attachment queue -
run_as_job(self)Run the process for an individual attachment queue from a async job -
set_done(self)Manually set to done
New fields (1)
-
attachment_idsMany2many → attachment.queuecomodel_name='attachment.queue'default=<expr>string='Attachments'
-
reschedule(self)
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 93 days ago
- Last activity
- 60 days ago
- Repository
- OCA/server-tools
- Pull request
- [19.0][MIG] attachment_queue: Migration to 19.0 (#3614)