-
- Downloads
[FIX] mrp_account: correct KIT cost even if bom line in different UOM
Steps to reproduce the bug: - Create a Product A with Costing Method = FIFO - Create a Product B with Costing Method = FIFO and cost of 10 - Create a BOM of product A > type = Kit - Add product B in bom line, with qty = 1 and UoM = dozen - Add product A in `sale.order` - Confirm order Problem: The cost is 10 rather than 120 (10 * 12 = 120) Solution: The kit cost must be the total cost of the components multiplied by their unit of measure opw-2631487 closes odoo/odoo#78086 X-original-commit: 6c48262c8656821aa51669bd77cdf0f35634512f Signed-off-by:William Henrotin <Whenrow@users.noreply.github.com> Signed-off-by:
Djamel Touati <DjamelTouati@users.noreply.github.com> Co-authored-by:
fmdl <florent.mirieu@gmail.com>
Please register or sign in to comment