summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-01-15 13:21:44 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-01-15 13:21:44 +0700
commit6a7c7c1ad694ba12f23b9a4cc5c5deca6ff52bd8 (patch)
tree0474dabf4f034d83e32766d05be203ca96f7411d
parent3b400df6d9f630c4f20e518126afccf280ff62ac (diff)
<Miqdad> push
-rw-r--r--indoteknik_custom/models/stock_picking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 2465fa96..c8f7bb5b 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -1685,7 +1685,7 @@ class StockPicking(models.Model):
])
for line in po.order_sales_match_line:
- if not line.bu_pick:
+ if not line.bu_pick and line.hold_outgoing_so:
continue
line.bu_pick.action_assign()