Skip to Content

Contributors

Re: OCA DMS - possibility to store documents on external storage?

Hi Radovan,

There is another whole repository that deals with external storage systems - OCA/storage which integrates such systems. But that stores the attachments/documents/images in a way that's not really friendly to the naked eye.

Which branch of the oca/storage repo are you talking about?  Can you elaborate? On branch 160, the new fs_attachment module has been designed to transparently provide the ability to store attachments in a wide range of file systems such as azure, s3, ftp, etc... There are more specialized modules to improve the developer experience when they deal with files into odoo. At the ground you also have the fs_storage module that gives you access to an unified filesytem interface object through the fsspec library. Maybe the PR https://github.com/OCA/dms/pull/182 could take advantage of this approach? Behind these new modules there is a lot of work to lower the resources consumption when dealing with files into Odoo. (for example, the fs_attachement module implements the streaming of the content's files when a user downloads the file even if the file is stored into an external filesystem, ...)

Regards,

lmi

by Laurent Mignon - 11:49 - 2 Oct 2023

Reference

  • OCA DMS - possibility to store documents on external storage?
    Hello,
    
    I have a customer who would like to manage documents ala OCA/dms but would like them to be available on external storage system like Google Drive (for employees that do not use Odoo). They are interested in things lik Sale Orders, Invoices, ... to be available. Reading the docs / looking at the source it doesn't seem to it is directly possible / available.
    
    There is another whole repository that deals with external storage systems - OCA/storage which integrates such systems. But that stores the attachments/documents/images in a way that's not really friendly to the naked eye.
    
    Is such integration a good idea? Should it even be done or another approach should be taken? Or am I missing something? Any advice is highly welcome here.
    
    Best regards
    
    	Radovan Skolnik
    
    
    
    
    

    by Radovan Skolnik - 04:26 - 1 Oct 2023