summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/tools/debug_manager_backend.js
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-07-12 09:05:54 +0000
committerLucas Lefèvre <lul@odoo.com>2019-07-12 09:05:54 +0000
commitafa4c091297514b8321776d7882cea43535e4b75 (patch)
treefd992cb966b0e948c6d5be9ba3ed6b9bea85fc36 /addons/web/static/src/js/tools/debug_manager_backend.js
parent20fb024a33b3ceed2a1a41f65a315477699378de (diff)
[FIX] sale: Don't compare id and NewId
On runbot, edit SO131 and change the company => traceback An onchange is triggered (=> self.id is a NewId). But while recomputing the quantity delivered, a read_group is performed which gives real ids (int). The ids are then used to retrieve some so_lines in a dict where each key is an id (but actually NewId in onchange) of self. => the keys are NewIds but try to get the value with an (int) id => KeyError closes odoo/odoo#34818 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/tools/debug_manager_backend.js')
0 files changed, 0 insertions, 0 deletions