| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/storage |
| GIT | |
| GIT | https://github.com/OCA/storage.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/storage/tree/18.0/storage_file_swap_backend_queue |
| VERSION | |
| VERSION | 1.1.0 |
| CATEGORY | |
| CATEGORY | Storage |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, Simone Orsi, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/storage |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:15 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/connector: - component OCA/queue: - queue_job OCA/server-env: - server_environment OCA/storage: - storage_file - storage_backend odoo/odoo: - base - base_sparse_field - base_setup - web - bus - web_tour - html_editor |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
python_slugify cachetools requests |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module integrates `storage_file` with `queue_job` to delegate the backend swap operation to asynchronous jobs. When swapping files between storage backends via the wizard, the operation is split into batches and dispatched as queue jobs instead of running synchronously. This avoids timeouts when moving large numbers of files. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
storage_backend_view_form |
storage.backend | field | Inherits storage_file.storage_backend_view_form | |
storage_file_swap_backend_view_form |
storage.file.swap.backend | field | Inherits storage_file.storage_file_swap_backend_view_form |
swap_backend_use_queue
Boolean
default=False
help='When enabled, swapping files to/from this backend will be dispatched as asynchronous queue jobs instead of running synchronously.'
string='Use Queue for Backend Swap'
No public methods.
No new fields.
Public methods (0)No public methods.
use_queue
Boolean
related='source_backend_id.swap_backend_use_queue'
string='Use Queue Jobs'
No public methods.