Files
odoo_source/addons
Victor Feyens 7e26237ffe [FIX] sale_coupon: underterministic recordset order
Recenlty, this method was changed to use set instead of recordsets
to improve the performance of the code.

But set have a non deterministic order, which means the order of the
returned programs returned is not the same, modifying the resulting behavior
as some programs cannot be applied together.

To fix this problem, this commit replaces the set by lists
to ensure the returned recordset keeps the same ordering.

Also rename a potentially conflicting variable caused by the same commit.

Finetuning of commit cc1bb9224b3d50897e8f16404ed10bcc04225c60.

closes odoo/odoo#60472

X-original-commit: 6d4da47fff9a809f65912d4132a5fd3ccaa37b90
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-10-21 15:43:32 +00:00
..
2020-10-19 07:03:01 +00:00
2020-10-19 07:03:01 +00:00
2020-10-20 10:03:58 +00:00
2020-10-19 07:03:01 +00:00
2020-09-29 17:52:02 +00:00
2020-09-29 17:52:02 +00:00
2020-10-19 07:03:01 +00:00
2020-08-21 09:38:26 +00:00
2020-09-29 17:52:02 +00:00
2020-10-19 07:03:01 +00:00
2020-09-29 17:52:02 +00:00
2020-09-15 08:11:44 +00:00
2020-10-14 13:33:49 +00:00
2020-10-05 09:36:34 +00:00
2020-09-29 17:52:02 +00:00
2020-10-20 06:08:32 +00:00
2020-10-05 09:36:34 +00:00