From 2129dcb28818e8e9137c4ff7bcd1cddfaa03cd97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Thu, 21 Sep 2023 14:50:40 +0200 Subject: [PATCH] [IMP] stock_delivery: don't require partner_id if not `integration_level == 'rate_and_ship'` The requirement of partner_id was put long ago because send_to_shipper() method requires it. But if you look into the python code, you see in _send_confirmation_email() method that the requirement to enter into send_to_shipper() is `integration_level == 'rate_and_ship'` instead of `delivery_type not in ['fixed', 'base_on_rule']`. It means that, with this change, if we have a `delivery_type not in ['fixed', 'base_on_rule']`, we should be able to validate the picking without partner if we have `integration_level == 'rate'`. closes odoo/odoo#136149 Signed-off-by: William Henrotin (whe) --- addons/stock_delivery/views/delivery_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock_delivery/views/delivery_view.xml b/addons/stock_delivery/views/delivery_view.xml index d8d4ddae5db..ada08b11d68 100644 --- a/addons/stock_delivery/views/delivery_view.xml +++ b/addons/stock_delivery/views/delivery_view.xml @@ -50,7 +50,7 @@