The conversion process of emails for mail clients involves retrieving the dimensions of images and icons in order set them as element attributes. This can however not possibly work if they are invisible at the time of conversion. This therefore makes sure they are visible by changing the visibility of whichever parent was invisible before conversion and restoring it when we're done. opw-2686316 opw-2735636 closes odoo/odoo#83233 Related: odoo/enterprise#23695 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>