Store files into a Minio Server which is a Amazon S3 Open Source alternative.
from osv import osv, fields
from minio_backend.fields import S3File
class ExampleObject(osv.osv):
_name = 'example.object'
_columns = {
'name': fields.char('Name', size=64),
'file': S3File('File', 'test')
}
ExampleObject()
class S3File(string, bucket)
:
Store files into an Azure Blob Storage which is a highly scalable object storage solution from Microsoft.
from osv import osv, fields
from azure_backend.fields import AzureBlobFile
class ExampleObject(osv.osv):
_name = 'example.object'
_columns = {
'name': fields.char('Name', size=64),
'file': AzureBlobFile('File', 'test')
}
ExampleObject()
class AzureBlobFile(string, container_name)