summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/sale_monitoring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_monitoring.py b/indoteknik_custom/models/sale_monitoring.py
index e82fe380..6fabb2df 100644
--- a/indoteknik_custom/models/sale_monitoring.py
+++ b/indoteknik_custom/models/sale_monitoring.py
@@ -47,7 +47,7 @@ class SaleMonitoring(models.Model):
JOIN product_product p ON p.id = sol.product_id
JOIN product_template pt ON pt.id = p.product_tmpl_id
WHERE pt.type IN ('consu','product')
- AND so.state IN ('sale')
+ AND so.state IN ('sale','done')
AND so.create_date >= '2022-08-10'
) a
where