Commit Graph

14 Commits (28f335d706bce6539bb1755d93baf38cc0c00ed8)

Author SHA1 Message Date
Hai Lang 1046321a17 [MIG] base_multi_image: Migration to 14.0 2022-05-17 14:19:44 +02:00
Hai Lang 9cd65218a2 [IMP] base_multi_image: black, isort, prettier 2022-05-17 14:19:44 +02:00
Marc Poch 1ab1c383c2 [FIX]base_multi_image: Fix image url in locales with thousand separator. 2022-05-17 14:19:44 +02:00
Francisco Fernández 4df296e25a [10.0] [IMP] base_multi_image: improve uninstall hook (#1286)
improve uninstall hook to move images from multi to single mode
2022-05-17 14:19:44 +02:00
Dave Lasley 8b393199fe [10.0][FIX] base_multi_image: Uninstall hook (#709) 2022-05-17 14:19:44 +02:00
Dave Lasley 2f4751b5f9 [FIX] base_multi_image: Use env in uninstall_hook (#677)
* [FIX] base_multi_image: Use env in uninstall_hook
2022-05-17 14:19:44 +02:00
Dave Lasley 04b6ef8131 [MIG] base_multi_image: Upgrade to v10
* Update openerp to odoo
* Bump versions
* Installable to True
2022-05-17 14:19:44 +02:00
Holger Brunn b0662d0e8b [FIX] adapt to changes in binary attachment branch 2022-05-17 14:19:44 +02:00
Jairo Llopis 93f8b143cc Add uninstall hook to avoid garbage images hanging around after submodule is uninstalled. 2022-05-17 14:19:44 +02:00
Jairo Llopis 8270c38131 Add a reference field to get to the owner with 1 click. 2022-05-17 14:19:44 +02:00
sebalix ebece80a42 [FIX] base_multi_image - Clean up + updated comments 2022-05-17 14:19:44 +02:00
sebalix 7e17b85e9a [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 2022-05-17 14:19:44 +02:00
Jairo Llopis ca84b3db87 Fix bug that made previous images to disappear.
See https://github.com/OCA/product-attribute/pull/135#issuecomment-191358505.
2022-05-17 14:19:44 +02:00
Jairo Llopis 034cc97491 Split model in abstract & concrete. 2022-05-17 14:19:44 +02:00