summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2019-01-04 13:35:28 +0000
committerArnold Moyaux <arm@odoo.com>2019-01-04 13:57:49 +0000
commitdf7953f3031a2d3b0f2abf30a41df4955fb6b553 (patch)
tree7ff64818f630e45d16e7d84cb53d0506e1aaac78 /doc/reference
parent617652bbfed923934cb1d3b6185d302031f4af18 (diff)
[FIX] stock: unreserve drop all the processed work
Usecase to reproduce(or any other way to lower initial demand on move): - Build a MO with 5 products to do - Produce 3 - Update the quantity on the mo to 3 -> All the consumed quantity on move lines is dropped. It happens because lowering the initial demand on a move will call unlink on its move lines. (increase it will update the move's state and reassign if it comes from a supplier) Instead of dropping and reassign the move in order to change the reservation, it is possible to directly write the new reserved quantity on the move lines and that will update the reservation on qaunt directly. Also we don't want move lines without reserved quantity and quantity done thus we drop them. closes odoo/odoo#29941
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions