diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-06-02 11:17:38 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-06-02 12:20:08 +0200 |
| commit | 7cc8420ea0cbd4de367bd36ab8c778fe51e38d96 (patch) | |
| tree | 9f3cd47b4c4303224548461f7e37ad29a6d5c5c4 /addons/web_editor/static/src/js/snippets.editor.js | |
| parent | 844d609cc9a5575d504cc4928ec3e38403d3ec58 (diff) | |
[FIX] product_extended: workcenter cost
- Create a work center with a capacity of 1, an efficiency factor of
100% and a cost per hour of 40$
- Create a routing with two operations: one with a fixed duration of
30:00 minutes (OP1) and another with a duration computed on real time
but with a default of 30:00 minutes (OP2)
- Create a component with UOM "m" and a cost of 10$
- Create a finished product with an associated BoM
- The BoM has a first line with 0.8m of component in the OP1 and a
second line with 0.4m of component in the OP2
- Activate the Compute from BoM option on the finished product
- The proposed cost is 32$
Expected cost: 52$
(30 minutes @40$/hour + 30 minutes @40$/hour + 1,2m @10$/m)
We divide the WC cost by the number of operations, which does not make
sense.
opw-741032
Diffstat (limited to 'addons/web_editor/static/src/js/snippets.editor.js')
0 files changed, 0 insertions, 0 deletions
