Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

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

by
Data Dance s.r.o., Radovan Skolnik
- 02/10/2023 12:33:47
Hi laurent,

I am talking about a combination of 2 repos basically: dms and storage. The 
idea is to use DMS for what it is supposed to be used but use external storage 
(customer asks for Google Drive) as its backend. The idea would be the 
documents managed in DMS wouls also be avilable from that external storage.

For that, Enric's proposal seems a great fit to me...

Best regards,

	Radovan

On pondelok 2. októbra 2023 11:49:27 CEST Mignon, Laurent wrote:

> 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

> 

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe




Reference