diff options
| author | Arnold Moyaux <arm@odoo.com> | 2018-10-18 14:58:08 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-10-24 11:10:29 +0200 |
| commit | 0ff1e5fab5f394dbd1221fcf09dc1e280930c566 (patch) | |
| tree | 1cdb924508f7eda5ad4933f1389a770f6940ca8f /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 80df540dd01b28dc412244bb2a9ad442d3923d7d (diff) | |
[FIX] mrp_bom_cost: bom cost / bom quantity
Use case to reproduce:
- create a BoM of 50 finished products:
- Add a routing with an operation time of 1h
- Set a 1$/h cost on workcenter
- Set unit price from BoM
It will be 1$ for one product. It should be 0.02$
since it will take 1h for 50 products, so the price
should be 1/50
It happens because the system add the operation time by unit instead
of adding it only once.
related to commit 17b625695521b9a1af75e0c10337d0d3076c8fce
opw-1890005
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
