summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-10-20 08:44:33 +0000
committerVictor Feyens <vfe@odoo.com>2020-10-21 15:18:47 +0000
commit34c16fb374a7ef9992012599bde3703c08aa1a58 (patch)
treeac08bc0e3f2497da00f6d2eea992adada6f26df3 /addons/web_editor/static/src/js
parent2c60ebd89c1c4a18e663b7c5b2dd7ca34d2a37e9 (diff)
[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#60468 X-original-commit: 6d4da47fff9a809f65912d4132a5fd3ccaa37b90 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions