Skip to content

Commit

Permalink
[FIX] delivery_auto_refresh: Allow override carrier from wizard when …
Browse files Browse the repository at this point in the history
…changing partner
  • Loading branch information
Shide committed Dec 5, 2024
1 parent fc20867 commit 5d21a05
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions delivery_auto_refresh/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ def _set_delivery_carrier(self, set_delivery_line=True):
.new({})
)

# Do not override carrier
if order.carrier_id:
delivery_wiz.carrier_id = order.carrier_id

# If the carrier isn't allowed, we won't default to it
if (
delivery_wiz.carrier_id
Expand Down

0 comments on commit 5d21a05

Please sign in to comment.