summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-04-17 11:51:00 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-04-17 11:51:00 +0700
commit4eb477f655231e39eaacb4453f216692a8355bac (patch)
tree3a44cc9a5828969514c3f346b5025a17d436cc35
parentf76c3426b4f92bb3622a0ce2f012923d876de6c2 (diff)
comment tag leads
-rwxr-xr-xindoteknik_custom/models/crm_lead.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/crm_lead.py b/indoteknik_custom/models/crm_lead.py
index 913c670e..1f37005d 100755
--- a/indoteknik_custom/models/crm_lead.py
+++ b/indoteknik_custom/models/crm_lead.py
@@ -45,8 +45,8 @@ class CrmLead(models.Model):
leads = self.env['crm.lead'].search([
('active', '=', True),
('type', '=', 'lead'),
- # ('tag_ids', '=', False),
- ('id', '=', 12523)
+ ('tag_ids', '=', False),
+ # ('id', '=', 12523)
], limit=1000)
for lead in leads:
tags = self.env['crm.tag'].search([('id', '>', 0)])