-
- Downloads
[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
Please register or sign in to comment