diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-05-31 11:10:48 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-05-31 11:10:48 +0700 |
| commit | 095e0a6815bcc64d638d64f72f5f392aa92ec7b6 (patch) | |
| tree | 0644a666dac7060f2939227f3d4abda81f3cf0c7 | |
| parent | 6cb1fc1a1cd0c8091c32dfcd19ebc58793873d25 (diff) | |
bug fix sale monitoring detail
| -rwxr-xr-x | indoteknik_custom/models/sale_monitoring_detail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_monitoring_detail.py b/indoteknik_custom/models/sale_monitoring_detail.py index a578f67b..6c609ac2 100755 --- a/indoteknik_custom/models/sale_monitoring_detail.py +++ b/indoteknik_custom/models/sale_monitoring_detail.py @@ -60,7 +60,7 @@ class SaleMonitoringDetail(models.Model): WHERE pt.type IN ('consu','product') AND so.state IN ('sale','done') AND so.create_date >= '2022-08-10' - and so.so_status not in('terproses') + and (so.so_status not in('terproses') or so.invoice_status not in('invoiced')) ) a ) """ % self._table) |
