summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets
diff options
context:
space:
mode:
authorfw-bot <otis@odoo.com>2019-11-21 11:10:50 +0000
committerWilliam Henrotin <whe@odoo.com>2019-11-27 14:05:26 +0000
commitcfbeed761a3f9877f01e7200fee91af76b072761 (patch)
treef956b555492cadb2d5e75923df27fadf96e28ee2 /addons/web/static/src/js/widgets
parent0b8eb71d7143af6fd3bfee19dcf6cb668329d250 (diff)
[FIX] mrp: unit_factor computation
Updating the quantity to produce in a production order will recompute each raw move's unit factor. The issue was this computation did not take care of the previously product quantity. The unit factor was wrong and so the next created workorder lines get the wrong quantity. Example: - 1 components for 1 finished product (unit_factor = 1) - Create a production for 2 finished product -> quantity to consume = 2 - Produce 1 then change quantity to produce to 3 -> quantity to consume = 3 and quantity done = 1 but unit factor became 1.5 closes odoo/odoo#40990 X-original-commit: 79976600df45afc6150150734eef405fd41a70a3 Signed-off-by: William Henrotin <Whenrow@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions