Before this commit, when deleting an attachment from composer, an undefined message was inserted in the store. closes odoo/odoo#125313 X-original-commit: ec814f14222509caa27d627a193e6eaebe9bbf60 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com> Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>