summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchasing_job.py
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2024-12-05 14:47:42 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2024-12-05 14:47:42 +0700
commit1e9e0c28ee4dc63f1465affac6d98ae213d9f283 (patch)
treee48922d3885f3c1870f24cfad2c708389468d722 /indoteknik_custom/models/purchasing_job.py
parent4d5a0a6e2d997e323f8670172226f613b7673d62 (diff)
parent4eac4d0709ec5d9e03b517a39cb67acbc35e2932 (diff)
Merge branch 'production' of https://bitbucket.org/altafixco/indoteknik-addons into production
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 bf5ed8c4..4efb0cd4 100644
--- a/indoteknik_custom/models/purchasing_job.py
+++ b/indoteknik_custom/models/purchasing_job.py
@@ -57,7 +57,7 @@ class PurchasingJob(models.Model):
max(pjs.status_apo::text) AS status_apo,
max(pjs.note::text) AS note,
CASE
- WHEN sub.vendor_id = 5571 THEN 27
+ WHEN pmp.brand IN ('Tekiro', 'RYU', 'Rexco') THEN 27
WHEN sub.vendor_id = 9688 THEN 397
WHEN sub.vendor_id = 35475 THEN 397
WHEN sub.vendor_id = 29712 THEN 397