summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2018-10-12 15:27:15 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-10-15 13:04:49 +0200
commit17b625695521b9a1af75e0c10337d0d3076c8fce (patch)
treeb682ee17bf7e327f0bee8f88cb0fcb8113028bc4 /addons/web/static/src/js/views/basic/basic_model.js
parent1ade6675c37e463e67fe958e1c0b79f24c97e281 (diff)
[FIX] mrp: bom structure in batch
Usecase to reproduce: - Create a BoM that create more than 1 finished product - Use a routing - Open the BoM structure report The operations time from the routing are multiplied by the quantity show on the report. It should not happen since routing's operations are not by unit. If a user create a BoM that produce 50 finished products then the operation time is always the same when the user produce between 1-50 units. It then double from 51-100,... (workorder use the same process for the expected duration). This commit fix this behavior by using a rounding up on the quantity asked on the report / BoM product quantity. It also take care of the workcenter capacity. opw-1890005
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions