Commit Graph

16 Commits (95727eefab4e5d4383f5b8b3c75d1ef334248fe4)

Author SHA1 Message Date
Ignacio J. Ortega b58418646b [UPD] base_multi_image removed unused params, revamped post_init_hook_for_submodules to not use image_ids 2024-08-19 14:45:58 +02:00
Ignacio J. Ortega 42c3340aa4 [MIG] base_multi_image: Migration to 16.0
Fecha:     Fri Apr 11 13:31:40 2023 +0200
Autor:     clb_openfire
2024-08-19 14:45:58 +02:00
Hai Lang a933352a83 [MIG] base_multi_image: Migration to 14.0 2024-08-19 14:45:58 +02:00
Hai Lang 1681285384 [IMP] base_multi_image: black, isort, prettier 2024-08-19 14:45:58 +02:00
Marc Poch 5d5388bc5f [FIX]base_multi_image: Fix image url in locales with thousand separator. 2024-08-19 14:45:58 +02:00
Francisco Fernández e8311de9c0 [10.0] [IMP] base_multi_image: improve uninstall hook (#1286)
improve uninstall hook to move images from multi to single mode
2024-08-19 14:45:58 +02:00
Dave Lasley f3130d5d14 [10.0][FIX] base_multi_image: Uninstall hook (#709) 2024-08-19 14:45:58 +02:00
Dave Lasley f881b06f50 [FIX] base_multi_image: Use env in uninstall_hook (#677)
* [FIX] base_multi_image: Use env in uninstall_hook
2024-08-19 14:45:58 +02:00
Dave Lasley 67d5579c88 [MIG] base_multi_image: Upgrade to v10
* Update openerp to odoo
* Bump versions
* Installable to True
2024-08-19 14:45:58 +02:00
Holger Brunn 3249b42c24 [FIX] adapt to changes in binary attachment branch 2024-08-19 14:45:58 +02:00
Jairo Llopis f799333969 Add uninstall hook to avoid garbage images hanging around after submodule is uninstalled. 2024-08-19 14:45:58 +02:00
Jairo Llopis a40f5ab63d Add a reference field to get to the owner with 1 click. 2024-08-19 14:45:58 +02:00
sebalix 2f4e02cee0 [FIX] base_multi_image - Clean up + updated comments 2024-08-19 14:45:58 +02:00
sebalix 4c2f989318 [FIX] base_multi_image - New storage backend 'Filestore' to link an existing attachment record + Fix the 'pre_init_hook_for_submodules()' hook to extract the images from the ir_attachment table for binary fields initialized with the 'attachment=True' parameter 2024-08-19 14:45:58 +02:00
Jairo Llopis e452a9cff8 Fix bug that made previous images to disappear.
See https://github.com/OCA/product-attribute/pull/135#issuecomment-191358505.
2024-08-19 14:45:58 +02:00
Jairo Llopis fc3aa08222 Split model in abstract & concrete. 2024-08-19 14:45:57 +02:00