Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
3 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
OCA/connector:
OCA/queue:
OCA/storage:
odoo/odoo:
- web
- bus
Python dependencies
python_slugify, cachetools, requests
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 2

XML IDNameModelTypeStatus
storage_backend_view_form storage.backend form Inherits storage_file.storage_backend_view_form
storage_file_swap_backend_view_form storage.file.swap.backend form Inherits storage_file.storage_file_swap_backend_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • 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'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • use_queue Boolean
    related='source_backend_id.swap_backend_use_queue' string='Use Queue Jobs'
Public methods (0)

No public methods.