Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 odoo#38890 opw-2262540 closes odoo#52192 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
- Loading branch information