This commit deletes all images that aren't referenced anywhere in 12.0 content.
How to setup Odoo inventory?