summaryrefslogtreecommitdiff
path: root/addons/account/models/account_move.py
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2021-01-19 12:49:42 +0000
committerArnold Moyaux <arm@odoo.com>2021-01-20 09:04:37 +0000
commita3ab5c3a73243e6f4d5662ee27765439ba9b5363 (patch)
treea4130d59a3138d01c2c13ce63e84ff1fc41eaa99 /addons/account/models/account_move.py
parent90c286e168b62876214119d69257d0aa5c120bc2 (diff)
[FIX] stock: lots ids disapear after onchange.
Use case to reproduce: - Go to MO form produce at least 2 units of a product with a component tracked by serial number. - Edit the producing quantity to 1.0 - Save - Edit the producing quantity to 2.0 The move lines are removed. It happens because the lot_ids field is empty and thus the setter remove the existing stock.move.line. It's empty because the compute try to do a match on existing id. However the stock.move in the onchange could have a new virtual id. fine tuning of commit 8dfee8cb2d60942641b73eaa6489b02aa378c5ac closes odoo/odoo#64747 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/account/models/account_move.py')
0 files changed, 0 insertions, 0 deletions