summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorGoffin Simon <sig@odoo.com>2016-12-29 16:08:29 +0100
committerGoffin Simon <sig@odoo.com>2017-01-02 10:37:08 +0100
commit7fc1a3ca7b5b2616e9610b3e62975f6eb3c36267 (patch)
treea1c335a15b45990d6e08605817180ec9705cd536 /addons/web_editor/static/src
parente8b0c1db69f04b0f8391d7ee4848ccf576018bf3 (diff)
[FIX] mrp: Computing the qty of the BOM Structure report
Each qty of a line in the BOM Structure report must be computed in the uom of its BOM line. Example: With 2 products: A, B BOM A: 100 kg of A is produced by 5t of B So 1kg of A needs how many t of B ?: In the code: qty_per_bom = 100 kg expressed in the uom of B => qty_per_bom = 0.1t qty = 1 kg expressed in the uom of B => qty = 0.001t l.product_qty = 5t qty of B = (l.product_qty *qty)/ qty_per_bom = 0.05t opw:697502
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions