-
- Downloads
[FIX] mrp: float division by zero
Cause When kit BOM line quantity is equal to zero in a sale order, it raise error because trying to divide bom_line_data['qty'] / bom_line_data['original_qty'] when computing kit quantities. Solution As BoMs allow components with 0 qty, a.k.a. optionnal components, we simply skip those to avoid a division by zero. Cherry-pick of #38890 opw-2262540 closes odoo/odoo#52362 X-original-commit: ab780a9d Signed-off-by:Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
Please register or sign in to comment