`message_main_attachment_id` removed from `mail.thread` in odoo/odoo@f8c7f2e5bb (16.2), however precise inheritance tracking was only added in odoo/odoo@b27eb20a41 (17.1), so stock migration only handles stock models for this migration.