Add mail.thread.main.attachment in the inheritance chain of all models that use the main attachment feature. Note that we remove the main attachment from crm_case_15 of the demo data as crm_lead doesn't use that feature. Task-2648976 Part-of: odoo/odoo#110734