Stock.location is ordered by "complete_name" which is possible to be the same (i.e. default production locations for different companies). This may result non-deterministic order. Add "id" to avoid it. closes odoo/odoo#79181 X-original-commit: 94a8ad3fae914b046064bb7ce17572be8280f6e0 Signed-off-by: William Henrotin (whe) <whe@odoo.com>