summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2026-02-27 14:59:16 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2026-02-27 14:59:16 +0700
commitdeba773edb01799a13a047dcae080272145badc7 (patch)
treeac26c2c9e80c1623ebb8a490b7d980f1ff7208ac
parent4d8b06efe10c33d44301b05d86bf96a62033820a (diff)
push
-rw-r--r--indoteknik_custom/models/automatic_purchase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/automatic_purchase.py b/indoteknik_custom/models/automatic_purchase.py
index 7e324061..f7c0d75e 100644
--- a/indoteknik_custom/models/automatic_purchase.py
+++ b/indoteknik_custom/models/automatic_purchase.py
@@ -368,7 +368,7 @@ class AutomaticPurchase(models.Model):
retur_cache[sale_line_id] = fully_received
- if retur_cache[sale_line_id]:
+ if retur_cache[sale_line_id] and exist:
skip_line = True
if skip_line: