summaryrefslogtreecommitdiff
path: root/odoo/sql_db.py
diff options
context:
space:
mode:
authorJosse Colpaert <jco@odoo.com>2017-10-18 15:23:12 +0200
committerNicolas Martinelli <nim@odoo.com>2017-10-23 10:15:47 +0200
commitd62b307597a5d93517461e67481d2eaca667f46b (patch)
tree85bff361312a381f09404d90d26db16eb0210926 /odoo/sql_db.py
parent0038bf43f23bbd19dd7156d649dd5aa4447cb6a4 (diff)
[FIX] mrp: unlink temp stock move lots when updating quantity to done qty
You start with an MO with a quantity of 2 with routing and we produce just 1. At least one of the components is tracked by lots. When we update the MO to a quantity of 1 again, the temporary stock.move.lots continued to exist which led to processing a the consume d move of e.g. 1 piece with 2 pieces of the quants processed when posting inventory. A test is added in order to avoid this case opw-767526 and opw-772786
Diffstat (limited to 'odoo/sql_db.py')
0 files changed, 0 insertions, 0 deletions