Jquery find return an object instead of an array of element. When you map on this object, the first callback element is so the index and not the element. This commit fix wrong usages of .map() used with Jquery. closes odoo/odoo#124359 X-original-commit: b87dac213dcc8a197dc7c00245a392d1e4d86925 Signed-off-by: Géry Debongnie <ged@odoo.com>