add lead admin
This commit is contained in:
parent
f22cb7d5d0
commit
9d114fff77
1 changed files with 7 additions and 0 deletions
|
@ -11,6 +11,7 @@ from .models import (
|
||||||
Service,
|
Service,
|
||||||
ServiceOffering,
|
ServiceOffering,
|
||||||
Term,
|
Term,
|
||||||
|
Lead,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -166,3 +167,9 @@ class ConsultingPartnerAdmin(admin.ModelAdmin):
|
||||||
return "No logo"
|
return "No logo"
|
||||||
|
|
||||||
logo_preview.short_description = "Logo"
|
logo_preview.short_description = "Logo"
|
||||||
|
|
||||||
|
|
||||||
|
@admin.register(Lead)
|
||||||
|
class LeadAdmin(admin.ModelAdmin):
|
||||||
|
list_display = ("name", "company", "created_at", "odoo_lead_id")
|
||||||
|
search_fields = ("name", "company")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue