-
- Downloads
[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 cc1bb922. closes odoo/odoo#60417 Signed-off-by:Victor Feyens (vfe) <vfe@odoo.com>
Please register or sign in to comment