summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchasing_job.py
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2025-02-24 11:32:06 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2025-02-24 11:32:06 +0700
commit7df979b8d5312bb90d13d338f2a787dc35373f17 (patch)
tree12a5fd7b487781b52900505a2cffa999da692f9f /indoteknik_custom/models/purchasing_job.py
parenta9c4cd0c5ac694074f0e3a4359182a97f27f542e (diff)
parent38f8ddd9aaaad58c8d7ea27235cd109ba288693d (diff)
Merge branch 'odoo-production' into feature/integrasi_biteship
# Conflicts: # indoteknik_custom/models/__init__.py # indoteknik_custom/models/product_template.py # indoteknik_custom/models/sale_order.py # indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/models/purchasing_job.py')
-rw-r--r--indoteknik_custom/models/purchasing_job.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchasing_job.py b/indoteknik_custom/models/purchasing_job.py
index 4efb0cd4..902bc34b 100644
--- a/indoteknik_custom/models/purchasing_job.py
+++ b/indoteknik_custom/models/purchasing_job.py
@@ -183,6 +183,7 @@ class OutstandingSales(models.Model):
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', 'assigned')
+ and sm.state in ('draft', 'waiting', 'confirmed', 'partially_available')
and sp.name like '%OUT%'
)
""")