summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/leads_monitoring.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-01-26 09:11:45 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-01-26 09:11:45 +0700
commit9df53ac2b48ee5f6285715f642b341dff93ad295 (patch)
tree6758c8f513cc55d0de28d6c35860099d995e6b0b /indoteknik_custom/models/leads_monitoring.py
parent435d8278e7801d8c6ccaea8c62a66906761de098 (diff)
change condition of leads monitoring
Diffstat (limited to 'indoteknik_custom/models/leads_monitoring.py')
-rw-r--r--indoteknik_custom/models/leads_monitoring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/leads_monitoring.py b/indoteknik_custom/models/leads_monitoring.py
index 0fe63a3d..f371ed65 100644
--- a/indoteknik_custom/models/leads_monitoring.py
+++ b/indoteknik_custom/models/leads_monitoring.py
@@ -64,7 +64,7 @@ class LeadsMonitoring(models.Model):
from crm_lead cl
left join res_users u on u.id = cl.user_id
left join res_partner p on p.id = u.partner_id
- where cl.active = 'true' and cl.stage_id not in(4,7)
+ where cl.active = 'true' and cl.stage_id not in(7)
order by cl.create_date desc
)
""" % self._table)