diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-02-15 11:27:29 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-02-15 11:34:16 +0100 |
| commit | ce385829076e91ac31e452269e96e0c10741bd67 (patch) | |
| tree | b756f33182d15dc2de0fdbd057f2e98676abc124 /addons/web/static/src/js/framework/session_instance.js | |
| parent | 4de3f4c4baa45b6bc5d0d2ede158d29ca4f99d57 (diff) | |
[FIX] mrp: update production quantity wizard factor
Use the same factor than the one used when
computing the products to consume at confirm.
Before, the quantity of products to consume was wrong
when using a different unit of measure in the BOM
than in the production order.
e.g.
- BoM defined as:
- 1 dozen of milk
- BoM lines: 1 cow
- Production order:
- 1 unit of milk
- BoM: The above one
At confirm, the quantity to consume is 0,083 cow (1 cow / 12, this is correct)
But, when updating the quantity to 2.0,
it updated the quantity of cow to 24.0, instead of 0,16.
opw-669447
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
