Community mailing list archives

community@mail.odoo.com

Re: About Attachment File Location (again)

by
NUMERIGRAPHE, Lionel Sausin
- 02/03/2015 06:32:46
Thanks for this pointer Anthony, it is valuable information.
How would you rate the reliability of this script? Is it production-ready?

Also, have you been considering writing a FUSE filesystem instead of a 
batch synchronization?
Implementing this as a pyton FUSE filesystem looks rather 
straightforward, and would allow you to access attachments through the 
Odoo API instead of depending on a specific storage implementation.



Le 31/01/2015 13:11, Antony Lesuisse a écrit :
> For ftp access i recommend that you use the document_fs
>
> https://github.com/odoo/odoo-extra/tree/master/document_fs
>
> If sync back from ftp to ir.attachment you need to execute _document_fs_sync
> from a cron job or as post logout script from the ftp server.