summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-01-21 14:41:19 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-01-21 14:41:19 +0700
commite072cbf06a86cb376d71c0490f0f48c6de1fd3f7 (patch)
treece5f4e9f32a0103f91549ffa5904308766799b15
parente3521c2153c36cee6629cee9146e1b4b0201da9f (diff)
fix pj
-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 74b5134e..4efb0cd4 100644
--- a/indoteknik_custom/models/purchasing_job.py
+++ b/indoteknik_custom/models/purchasing_job.py
@@ -182,7 +182,7 @@ class OutstandingSales(models.Model):
join product_product pp on pp.id = sm.product_id
join product_template pt on pt.id = pp.product_tmpl_id
left join x_manufactures xm on xm.id = pt.x_manufacture
- where sp.state in ('draft', 'waiting', 'confirmed')
+ where sp.state in ('draft', 'waiting', 'confirmed', 'assigned')
and sp.name like '%OUT%'
)
""")