Skip to content

Commit

Permalink
[FIX] stock_barcodes: Always pending when source_pending_moves is Ope…
Browse files Browse the repository at this point in the history
…rations

TT52069
  • Loading branch information
carlosdauden committed Dec 5, 2024
1 parent 93c33f3 commit ec6a532
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stock_barcodes/wizard/stock_barcodes_read_todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ def _compute_state(self):
):
rec.state = "done"
else:
rec.state = "pending"
if rec.stock_move_ids.barcode_backorder_action == "pending":
rec.state = "pending"
else:
rec.state = "done_forced"

@api.model
def fields_to_fill_from_pending_line(self):
Expand Down

0 comments on commit ec6a532

Please sign in to comment.