A `ZeroDivisionError` traceback that occurs in `delivery/DeliveryCarrier:_get_packages_from_order` was caught by Sentry Because in this part of the function https://github.com/odoo/odoo/blob/c18064d717312287f5acba2fabeb77b2e1c01fb9/addons/delivery/models/delivery_carrier.py#L326-L335 if `total_weight === 0.0` then `total_full_packages` and `last_package_weight` will be null too. And that will cause a `ZeroDivisionError` because of `total / len([])` opw-3086602 closes odoo/odoo#107820 X-original-commit: a362e14ee62a5d9d2bcb08c4431994a96796ce1e Signed-off-by: William Henrotin (whe) <whe@odoo.com>