diff --git a/addons/delivery/delivery.py b/addons/delivery/delivery.py index a1afe087d28..295d709e750 100644 --- a/addons/delivery/delivery.py +++ b/addons/delivery/delivery.py @@ -127,6 +127,7 @@ class delivery_carrier(osv.osv): grid_id = grid_pool.search(cr, uid, [('carrier_id', '=', record.id)], context=context) if grid_id and not (record.normal_price or record.free_if_more_than): grid_pool.unlink(cr, uid, grid_id, context=context) + grid_id = None # Check that float, else 0.0 is False if not (isinstance(record.normal_price,float) or record.free_if_more_than):