This commit removes useless function from legacy/utils.js and removes it from several backend bundles. The file is moved in wysiwyg and frontend bundles as it is still used in these bundles. task id: 3439226 closes odoo/odoo#140260 Related: odoo/enterprise#49812 Signed-off-by: Francois Georis (fge) <fge@odoo.com>