[IMP] Adapt dispatch overriding to the different versions of Odoo