From 07e10d1fdc3f3d573015b9aa6bb9b6029156dce7 Mon Sep 17 00:00:00 2001 From: sbejaoui Date: Wed, 28 Feb 2024 17:00:48 +0100 Subject: [PATCH] [IMP] stock_release_channel_shipment_advice_toursolver: set release channel name as toursolver task ref --- .../wizards/shipment_advice_planner.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stock_release_channel_shipment_advice_toursolver/wizards/shipment_advice_planner.py b/stock_release_channel_shipment_advice_toursolver/wizards/shipment_advice_planner.py index 7951473f2d..41e0f47fcc 100644 --- a/stock_release_channel_shipment_advice_toursolver/wizards/shipment_advice_planner.py +++ b/stock_release_channel_shipment_advice_toursolver/wizards/shipment_advice_planner.py @@ -10,5 +10,10 @@ class ShipmentAdvicePlanner(models.TransientModel): def _prepare_toursolver_task_vals(self, warehouse, pickings_to_plan): vals = super()._prepare_toursolver_task_vals(warehouse, pickings_to_plan) - vals.update({"release_channel_id": self.release_channel_id.id}) + vals.update( + { + "release_channel_id": self.release_channel_id.id, + "name": self.release_channel_id.name, + } + ) return vals