From d5c7362bc83eb01096df56c1b8d83fe2ae0079a6 Mon Sep 17 00:00:00 2001 From: Denis Roussel Date: Tue, 24 Sep 2024 11:31:44 +0200 Subject: [PATCH] [IMP] stock_release_channel_shipment_advice_deliver: Improve deliver wizard view --- .../wizards/stock_release_channel_deliver_check_wizard.py | 2 +- .../wizards/stock_release_channel_deliver_check_wizard.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.py b/stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.py index 0cd732977c..6fbc46fc6e 100644 --- a/stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.py +++ b/stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.py @@ -24,7 +24,7 @@ def _compute_allowed_to_unrelease_picking_ids(self) -> None: """ for wizard in self: moves_to_unrelease = ( - wizard.release_channel_id.at_deliver_to_unrelease_shipping_move_ids + wizard.release_channel_id._shipping_moves_to_unrelease() ) wizard.allowed_to_unrelease_picking_ids = moves_to_unrelease.filtered( "unrelease_allowed" diff --git a/stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.xml b/stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.xml index bd79c71aab..9b1d305d0e 100644 --- a/stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.xml +++ b/stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.xml @@ -13,12 +13,12 @@

There are some preparations that have not been completed.
- If you choose to proceed, these preparations will be unreleased and won't be delivered.

Are you sure you want to proceed with the delivery?

- +