Steps to reproduce ================== - Create a BOM - Add a line with a product of type product - Set the quantity to 0 - Save and click on overview -> ServerError: Division by 0 Cause of the issue ================== Lines with a quantity of 0 should be excluded from the computation opw-3053167 closes odoo/odoo#104980 X-original-commit: b0f5170252ed73d31543b8d1dcf114ae6f0b65bc Signed-off-by: Adrien Widart <awt@odoo.com> Signed-off-by: Hubert Van De Walle <huvw@odoo.com>