[IMP] attachment_minio: Handle migrated image.mixin field image_128

This commit is contained in:
Jared Kipe
2020-09-03 13:05:00 -07:00
parent edeb21c8fa
commit 178cfbf0ae

View File

@@ -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',
])
], ],
) )