[FIX] odoo: stop bloating sys.meta_path
[FIX] odoo: stop bloating sys.meta_path

Every call of initialize_sys_path was adding two new hooks to the
sys.meta_path, resulting in very long loading times on databases having
a lot of modules.

For example, 2.27s instead of 752 on a database having 130 installed
modules.

References:
- odoo/odoo#45780
- odoo/odoo#45662

closes odoo/odoo#53118

X-original-commit: 2444fde7f852787d87589a93c4bc385d76ff20e9
Signed-off-by: Christophe Simonis <0e117f2b429bfa19751522a564765b352cb7b946@odoo.com>
Signed-off-by: Olivier Dony (odo) <d670d44c3ca8bd4cd53a3b09f8bf8fc35e4843cc@openerp.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo