The first problem when multiple analytics accounts exist is the sql query, it is generated with less placeholders than the actual parameters. The second problem is the getter from the collected data dict, it is assuming there is only a single account. closes odoo/odoo#115189 X-original-commit: 8da76614c58ea1989694a5af3ee623640db126dd Related: odoo/enterprise#38146 Signed-off-by: William André (wan) <wan@odoo.com>