Skip to content

Commit

Permalink
[IMP] sale_manual_delivery: enable multiple deliveries
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnextev committed Dec 20, 2024
1 parent 5bd8959 commit 90b2921
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sale_manual_delivery/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ def _compute_delivery_pending(self):
lines_pending = rec.order_line.filtered(
lambda x: x.product_id.type != "service"
and x.qty_to_procure > 0
and (
not x.move_ids
or all(state in ("cancel",) for state in x.move_ids.mapped("state"))
)
)
rec.has_pending_delivery = bool(lines_pending)

Expand Down

0 comments on commit 90b2921

Please sign in to comment.