From f116ba8966efbcc50accac2939a4bd7b53d00578 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Fri, 16 Sep 2022 08:32:58 +0700 Subject: remove query if doesnt have link PO --- indoteknik_custom/models/sale_monitoring_detail.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/indoteknik_custom/models/sale_monitoring_detail.py b/indoteknik_custom/models/sale_monitoring_detail.py index cb412c98..d80ec99b 100755 --- a/indoteknik_custom/models/sale_monitoring_detail.py +++ b/indoteknik_custom/models/sale_monitoring_detail.py @@ -58,8 +58,6 @@ class SaleMonitoringDetail(models.Model): ) a WHERE a.qty_so <> a.qty_so_delivered - OR a.qty_so <> a.qty_so_invoiced - OR a.qty_so <> a.qty_po - OR a.qty_so <> a.qty_po_received + OR a.qty_so <> a.qty_so_invoiced ) """ % self._table) -- cgit v1.2.3