summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2025-12-10 11:11:01 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2025-12-10 11:11:01 +0700
commit6f1b2a4337279a946ae999df38ba5682044a3bb2 (patch)
treef1d8002fa681c3af05cdf60f6e32217da8019867
parent93199aaed1ae3541fd9ecf5c0aa42b20140a7ad4 (diff)
<Miqdad> fix sementara seq vcm
-rw-r--r--indoteknik_custom/models/stock_picking.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index cc6b69a3..7970793e 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -1435,8 +1435,8 @@ class StockPicking(models.Model):
ordered_pickings = []
for prefix in picking_order:
match = next((p for p in related_pickings if p.name.startswith(prefix)), None)
- if not match:
- raise UserError(f"Picking dengan prefix {prefix} belum ada.")
+ # if not match:
+ # raise UserError(f"Picking dengan prefix {prefix} belum ada.")
ordered_pickings.append(match)
current_index = -1