As we added the media link tools in a stable release (15.0) with [1], we had to make all the changes in static files (JS and lazy loaded XML). We don't have to worry about that in master so the code is simplified with this commit. [1]: https://github.com/odoo/odoo/commit/bfcd25c5d66765b7436114dba3316ac7331a4d97 task-2666467 closes odoo/odoo#78578 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>