summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchasing_job.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-08-13 13:20:53 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-08-13 13:20:53 +0700
commit1fb90f4b0ea75ca0b9eb723924a2ba4ea27a5a65 (patch)
treef1cf4521e54e5f76a5bd742885fc7ebb7e862f7f /indoteknik_custom/models/purchasing_job.py
parent433939b1a8b9cb6338b01282288704cf6f8430d3 (diff)
update pj
Diffstat (limited to 'indoteknik_custom/models/purchasing_job.py')
-rw-r--r--indoteknik_custom/models/purchasing_job.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchasing_job.py b/indoteknik_custom/models/purchasing_job.py
index 810a9e65..6e4f239d 100644
--- a/indoteknik_custom/models/purchasing_job.py
+++ b/indoteknik_custom/models/purchasing_job.py
@@ -96,7 +96,7 @@ class PurchasingJob(models.Model):
) AS sub ON sub.product_id = pmp.product_id
LEFT JOIN latest_purchase_orders po ON po.product_id = pmp.product_id
LEFT JOIN random_user_ids ru ON ru.vendor_id = sub.vendor_id OR (ru.vendor_id IS NULL AND sub.vendor_id != 9688)
- WHERE pmp.po_number = 'kosong' and pmp.action = 'kurang'
+ WHERE pmp.action = 'kurang'
AND sub.vendor_id IS NOT NULL
GROUP BY
pmp.product_id,