Contributors mailing list archives
Re: Attachments via S3?by
Camptocamp SA, Simone Orsi
one important point: bear in mind that `storage_file` and alike are not integrated w/ std odoo attachments.
They use specific models (eg: storage.file, storage.image, etc).
My idea is that we should rebase our work on odoo-cloud-platform on the storage modules so that we could:
* support ir.attachment w/ the same machinery
* support different S3 providers w/out having to hack our module (storage_s3 now supports providers != AWS)
I've recently added support for server env in the storage machinery, hence there should be no blocker if we want to go down this path.
If you want to do something about it, feel free to do so :)
Just post an issue to discuss about implementation details if needed.
On Fri, Mar 13, 2020 at 7:16 AM Alexey Pelykh <firstname.lastname@example.org> wrote:
Thanks everyone! I’ve even learned that we have a repository (storage one) I’ve never heard of :D We really need a repo map
On 12 Mar 2020, at 17:32, Jordi Riera <email@example.com> wrote:Hello,For local storage you can also take a look at this module: https://github.com/hibou-io/hibou-odoo-suite/tree/11.0/attachment_minioBased on camptocamp work.We did some tests and worked great !Best,JordiLe jeu. 12 mars 2020 à 11:17, Alexey Pelykh <firstname.lastname@example.org> a écrit :Thanks!
On 12 Mar 2020, at 16:12, Miku Laitinen <email@example.com> wrote:The attached files are stored on the disk by default. I believe they were stored in the database only in OpenERP 7 and before.Check out these modules:
- https://github.com/itpp-labs/misc-addons/tree/13.0/ir_attachment_s3 (direct links to s3)
- https://github.com/camptocamp/odoo-cloud-platform/tree/13.0/attachment_s3 (files move through Odoo)On Thu, Mar 12, 2020 at 5:02 PM Alexey Pelykh <firstname.lastname@example.org> wrote:Dear community, Has anyone seen a module that allows attached files to be stored outside of database? Kind regards, Alexey