fs_storage
This module provides a filesystem storage backend for Odoo, enabling transparent data storage across various protocols like S3, SFTP, and local filesystems using the fsspec library.
Key Features
- fs.storage: Allows defining storage backends with unique codes, protocols, and directory paths.
- fs.storage: Supports multiple filesystem protocols including local, S3, SFTP, FTP, and others via fsspec.
- fs.storage: Enables configuration of protocol-specific options in JSON format.
- fs.storage: Provides environment variable resolution for protocol options.
- fs.storage: Offers connection testing methods to validate storage accessibility.
- fs.storage: Supports caching of filesystem instances for performance.
- ir.model: Associates specific models with designated storage backends.
- ir.model.fields: Associates specific fields with designated storage backends.
- configuration: Allows storage configuration through server environment files.
- migration: Serves as a drop-in replacement for the storage_backend addon with deprecated compatibility methods.
- storage: Implements the fsspec AbstractFileSystem interface for unified file operations.