Attachment Queue

attachment_queue
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/18.0/attachment_queue
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSStefan Rijnhart, Florian da Costa, David Beal, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/queue:
    - queue_job
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openupgradelib
requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
view_attachment_queue_form attachment.queue xpath 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_id Many2one → ir.attachment
    help='Link to ir.attachment model ' ondelete='cascade' required=True args: 'ir.attachment'
  • date_done Datetime
  • failure_emails Char
    compute='_compute_failure_emails' help='Comma-separated list of email addresses to be notified in case offailure'
  • file_type Selection
    help='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=[]
  • state Selection
    default='pending' index='btree' readonly=False required=True args: [('pending', 'Pending'), ('done', 'Done'), ('failed', 'Failed')]
  • state_message Text
Public methods (6)
  • 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_ids Many2many → attachment.queue
    comodel_name='attachment.queue' default=<expr> string='Attachments'
Public methods (1)
  • reschedule(self)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/17.0/attachment_queue
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, r.perez
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/queue:
    - queue_job
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
view_attachment_queue_form attachment.queue xpath Inherits base.view_attachment_form
view_attachment_queue_search attachment.queue search New
view_attachment_queue_tree attachment.queue tree 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_id Many2one → ir.attachment
    help='Link to ir.attachment model ' ondelete='cascade' required=True args: 'ir.attachment'
  • date_done Datetime
  • failure_emails Char
    compute='_compute_failure_emails' help='Comma-separated list of email addresses to be notified in case offailure'
  • file_type Selection
    help='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=[]
  • state Selection
    default='pending' index='btree' readonly=False required=True args: [('pending', 'Pending'), ('failed', 'Failed'), ('done', 'Done')]
  • state_message Text
Public methods (6)
  • 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_ids Many2many → attachment.queue
    comodel_name='attachment.queue' default=<expr> string='Attachments'
Public methods (1)
  • reschedule(self)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/16.0/attachment_queue
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSStefan Rijnhart, Florian da Costa, David Beal, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/queue:
    - queue_job
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_attachment_queue_form attachment.queue xpath Inherits base.view_attachment_form
view_attachment_queue_search attachment.queue search New
view_attachment_queue_tree attachment.queue tree 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_id Many2one → ir.attachment
    help='Link to ir.attachment model ' ondelete='cascade' required=True args: 'ir.attachment'
  • date_done Datetime
  • failure_emails Char
    compute='_compute_failure_emails' help='Comma-separated list of email addresses to be notified in case offailure'
  • file_type Selection
    help='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=[]
  • state Selection
    default='pending' index='btree' readonly=False required=True args: [('pending', 'Pending'), ('failed', 'Failed'), ('done', 'Done')]
  • state_message Text
Public methods (6)
  • 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_ids Many2many → attachment.queue
    comodel_name='attachment.queue' default=<expr> string='Attachments'
Public methods (1)
  • reschedule(self)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/14.0/attachment_queue
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSSébastien BEAU, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_attachment_queue_form attachment.queue xpath Inherits base.view_attachment_form
view_attachment_queue_search attachment.queue search New
view_attachment_queue_tree attachment.queue tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (6)
  • attachment_id Many2one → ir.attachment
    help='Link to ir.attachment model ' ondelete='cascade' required=True args: 'ir.attachment'
  • date_done Datetime
  • failure_emails Char
    compute='_compute_failure_emails' help='Comma-separated list of email addresses to be notified in case offailure' string='Failure Emails'
  • file_type Selection
    help='The file type determines an import method to be used to parse and transform data before their import in ERP or an export' selection=[]
  • state Selection
    default='pending' readonly=False required=True args: [('pending', 'Pending'), ('failed', 'Failed'), ('done', 'Done')]
  • state_message Text
Public methods (3)
  • run(self)
    Run the process for each attachment queue
  • run_attachment_queue_scheduler(self, domain=None)
    @api.model
  • set_done(self)
    Manually set to done
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/12.0/attachment_queue
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSSébastien BEAU, David Beal, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_attachment_queue_form attachment.queue xpath Inherits base.view_attachment_form
view_attachment_queue_search attachment.queue search New
view_attachment_queue_tree attachment.queue tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (6)
  • attachment_id Many2one → ir.attachment
    help='Link to ir.attachment model ' ondelete='cascade' required=True args: 'ir.attachment'
  • date_done Datetime
  • failure_emails Char
    compute='_compute_failure_emails' help='Comma-separated list of email addresses to be notified in case offailure' string='Failure Emails'
  • file_type Selection
    help='The file type determines an import method to be used to parse and transform data before their import in ERP or an export' selection=[]
  • state Selection
    default='pending' readonly=False required=True args: [('pending', 'Pending'), ('failed', 'Failed'), ('done', 'Done')]
  • state_message Text
Public methods (3)
  • run(self)
    Run the process for each attachment queue
  • run_attachment_queue_scheduler(self, domain=None)
    @api.model
  • set_done(self)
    Manually set to done
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/server-tools
PULL REQUEST
PULL REQUEST[19.0][MIG] attachment_queue: Migration to 19.0 (#3614)