diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-07-12 09:05:54 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2019-07-12 09:05:54 +0000 |
| commit | afa4c091297514b8321776d7882cea43535e4b75 (patch) | |
| tree | fd992cb966b0e948c6d5be9ba3ed6b9bea85fc36 /addons/web/static/src/js/tools/debug_manager_backend.js | |
| parent | 20fb024a33b3ceed2a1a41f65a315477699378de (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
