From 178cfbf0ae68cc43093b7a7c2225f617d58a4264 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Thu, 3 Sep 2020 13:05:00 -0700 Subject: [PATCH] [IMP] attachment_minio: Handle migrated `image.mixin` field `image_128` --- attachment_minio/migrations/13.0.0.0.1/post-migration.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/attachment_minio/migrations/13.0.0.0.1/post-migration.py b/attachment_minio/migrations/13.0.0.0.1/post-migration.py index 068cdab0..b8a62e3a 100644 --- a/attachment_minio/migrations/13.0.0.0.1/post-migration.py +++ b/attachment_minio/migrations/13.0.0.0.1/post-migration.py @@ -32,7 +32,14 @@ def migrate(cr, version): '|', ('res_model', '=', 'ir.ui.view'), ('res_field', 'in', ['image_small', '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', + ]) ], )