Files
odoo_source/odoo
Rémy Voet (ryv) 193082f6ac [IMP] core: improve search count with a limit
The new feature (search count with limit) introduced by https://github.com/odoo/odoo/pull/95589 lacks of test and code readability:
- Add tests to check the result and query generate
- Increase the readability of SQL/python code.
- Change a little bit the SQL request generate: in the subquery, change `SELECT 1 FROM...` into `SELECT  FROM` which avoid extra work in the postgreSQL side.

task-2761165

closes odoo/odoo#95641

Signed-off-by: Raphael Collet <rco@odoo.com>
2022-07-08 17:10:51 +02:00
..
…