- Mailing Lists
- Contributors
- Re: Multiple files (images) upload
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Re: Multiple files (images) upload
Thanks a lot for this hint. I went another way since we already have our own storage model for this and I didn’t had the time to change too much. I made a simple Wizard using `FieldMany2ManyBinaryMultiFiles` widget. Neverless, thanks for the hint to this interesting repo I didn’t knew of before. Am 17.11.20 um 11:32 schrieb Roussel, Denis: > Hi Peter, > You can look into https://github.com/OCA/storage [1] to manage images the way you want. > And you can review this https://github.com/OCA/storage/pull/48 [2] that allows to handle multi image upload. > Best regards,
by Pete Hahn - 09:51 - 18 Nov 2020
Reference
-
Multiple files (images) upload
Dear Contributors, on a custom model we needed to have multiple images attached in a separate notebook page. We solved this using a kanban widget on a simple model, that contains the image as binary field. The drawback is, that you need to add each image one by one since you need to create new records of the containing model used for the kanban view to add images. The customer is asking for the possibility to add images by a multi select file dialog. Afaik this isn’t possible in odoo, since there is always exactly one binary field per image, so I would need something to create several records in one go. The only widget I know that is capable of doing this is the one used for adding attachments to forms (marked red in the screenshot below). Do you have any hints how to realize something like this? There seams to be nothing ready made available for this on the net. Thanks. Regards, Peter
by Pete Hahn - 11:20 - 17 Nov 2020-
Re: Multiple files (images) upload
Thanks a lot for this hint. I went another way since we already have our own storage model for this and I didn’t had the time to change too much. I made a simple Wizard using `FieldMany2ManyBinaryMultiFiles` widget. Neverless, thanks for the hint to this interesting repo I didn’t knew of before. Am 17.11.20 um 11:32 schrieb Roussel, Denis: > Hi Peter, > You can look into https://github.com/OCA/storage [1] to manage images the way you want. > And you can review this https://github.com/OCA/storage/pull/48 [2] that allows to handle multi image upload. > Best regards,
by Pete Hahn - 09:51 - 18 Nov 2020 -
Re: Multiple files (images) upload
Hi Peter,You can look into https://github.com/OCA/storage to manage images the way you want.And you can review this https://github.com/OCA/storage/pull/48 that allows to handle multi image upload.Best regards,On Tue, Nov 17, 2020 at 11:22 AM Peter Hahn <peter.hahn@initos.com> wrote:Dear Contributors, on a custom model we needed to have multiple images attached in a separate notebook page. We solved this using a kanban widget on a simple model, that contains the image as binary field. The drawback is, that you need to add each image one by one since you need to create new records of the containing model used for the kanban view to add images. The customer is asking for the possibility to add images by a multi select file dialog. Afaik this isn’t possible in odoo, since there is always exactly one binary field per image, so I would need something to create several records in one go. The only widget I know that is capable of doing this is the one used for adding attachments to forms (marked red in the screenshot below). Do you have any hints how to realize something like this? There seams to be nothing ready made available for this on the net. Thanks. Regards, Peter
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--__________________________________________
Denis Roussel
Software Engineer
Acsone SA, Succursale de Liège (Val Benoît)
Tel : +32 2 888 31 49
Fax : +32 2 888 31 59
Gsm : +32 472 22 00 57Acsone sa/nv
Boulevard de la Woluwe 56 Woluwedal | B-1200 Brussels | BelgiumQuai Banning, 6 (Val Benoît) | B-4000 Liège | Belgium
Zone Industrielle 22 | L-8287 Kehlen | Luxembourg
by Denis Roussel - 11:30 - 17 Nov 2020
-