diff options
| -rw-r--r-- | indoteknik_custom/models/leads_monitoring.py | 2 | ||||
| -rw-r--r-- | indoteknik_custom/views/leads_monitoring.xml | 8 |
2 files changed, 5 insertions, 5 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) diff --git a/indoteknik_custom/views/leads_monitoring.xml b/indoteknik_custom/views/leads_monitoring.xml index 3b4327cd..9e9934dd 100644 --- a/indoteknik_custom/views/leads_monitoring.xml +++ b/indoteknik_custom/views/leads_monitoring.xml @@ -25,8 +25,8 @@ widget="badge" decoration-danger="stage_status == '1-Lead / Potensi Baru'" decoration-warning="stage_status == '2-Proses Lain, Visit, Etc'" - decoration-success="stage_status == '3-Proses Quotation'" - decoration-info="stage_status == '4-Proses Negosiasi'" + decoration-success="stage_status == '5-Proses Berhasil'" + decoration-info="stage_status == '4-Proses Negosiasi' or stage_status == '3-Proses Quotation'" /> </tree> </field> @@ -60,8 +60,8 @@ widget="badge" decoration-danger="stage_status == '1-Lead / Potensi Baru'" decoration-warning="stage_status == '2-Proses Lain, Visit, Etc'" - decoration-success="stage_status == '3-Proses Quotation'" - decoration-info="stage_status == '4-Proses Negosiasi'" + decoration-success="stage_status == '5-Proses Berhasil'" + decoration-info="stage_status == '4-Proses Negosiasi' or stage_status == '3-Proses Quotation'" /> </group> </group> |
