The randint generator generated always `None` because the `return` was forget in method of `populate.compute`. - Add a test for the randint tool, and fix the issue. - Change the documentation of `_populate_factories` to be more explicit about the custom generator. closes odoo/odoo#61076 X-original-commit: 09d2ddecaf4fc6474c96acf1f4a12de4789caef8 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>