mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] attachment_minio: Handle migrated image.mixin field image_128
This commit is contained in:
@@ -32,7 +32,14 @@ def migrate(cr, version):
|
|||||||
'|', ('res_model', '=', 'ir.ui.view'),
|
'|', ('res_model', '=', 'ir.ui.view'),
|
||||||
('res_field', 'in', ['image_small',
|
('res_field', 'in', ['image_small',
|
||||||
'image_medium',
|
'image_medium',
|
||||||
'web_icon_data'])
|
'web_icon_data',
|
||||||
|
# image.mixin sizes
|
||||||
|
# image_128 is essentially image_medium
|
||||||
|
'image_128',
|
||||||
|
# depending on use case, these may need migrated/moved
|
||||||
|
# 'image_256',
|
||||||
|
# 'image_512',
|
||||||
|
])
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user