When sharing a survey, a mail.mail is created but the attachment were lost. This is due to a missing command (6, _, ids) when creating records in attachment_ids field (many2many). Fixes #9364, opw 656742