Skip to content

Commit

Permalink
[IMP] stock_release_channel_shipment_advice_toursolver: set release c…
Browse files Browse the repository at this point in the history
…hannel name as toursolver task ref
  • Loading branch information
sbejaoui authored and lmignon committed Apr 11, 2024
1 parent cb2814a commit 07e10d1
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 07e10d1

Please sign in to comment.