Skip to content

Commit

Permalink
[IMP] stock_release_channel_shipment_advice_deliver: Improve deliver …
Browse files Browse the repository at this point in the history
…wizard view
  • Loading branch information
rousseldenis authored and lmignon committed Oct 11, 2024
1 parent 2523d5f commit d5c7362
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _compute_allowed_to_unrelease_picking_ids(self) -> None:
"""
for wizard in self:
moves_to_unrelease = (

Check warning on line 26 in stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.py

View check run for this annotation

Codecov / codecov/patch

stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.py#L26

Added line #L26 was not covered by tests
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(

Check warning on line 29 in stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.py

View check run for this annotation

Codecov / codecov/patch

stock_release_channel_shipment_advice_deliver/wizards/stock_release_channel_deliver_check_wizard.py#L29

Added line #L29 was not covered by tests
"unrelease_allowed"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
<field name="release_channel_id" invisible="1" />
<p>
There are some preparations that have not been completed.<br />
If you choose to proceed, these preparations will be unreleased and won't be delivered.<br
If you choose to proceed, these preparations will be unreleased and won't be delivered or delivered partially.<br
/><br />
<b>Are you sure you want to proceed with the delivery?</b>
</p>
<group>
<field name="allowed_to_unrelease_picking_ids">
<field name="allowed_to_unrelease_picking_ids" nolabel="1">
<tree edit="false">
<field name="name" />
<field name="origin" />
Expand Down

0 comments on commit d5c7362

Please sign in to comment.