Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Attachments via S3?

by
Camptocamp SA, Simone Orsi
- 13/03/2020 08:30:27
Ciao Alexey,

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.

Bests,
S.


On Fri, Mar 13, 2020 at 7:16 AM Alexey Pelykh <alexey.pelykh@gmail.com> 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 <jordi.riera@numigi.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_minio
Based on camptocamp work.

We did some tests and worked great !

Best,
Jordi

Le jeu. 12 mars 2020 à 11:17, Alexey Pelykh <alexey.pelykh@gmail.com> a écrit :
Thanks!

On 12 Mar 2020, at 16:12, Miku Laitinen <miku@avoin.systems> 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:

On Thu, Mar 12, 2020 at 5:02 PM Alexey Pelykh <alexey.pelykh@gmail.com> wrote:
Dear community,

Has anyone seen a module that allows attached files to be stored outside of database?

Kind regards,
Alexey

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe



--
Jordi Riera - VP Technique
NUMIGI SOLUTIONS INC.
(514) 317-7944

Longueuil, Québec, Canada

linkedinyoutubecustom-icontwitter

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference