diff --git a/datahub/export_win/admin.py b/datahub/export_win/admin.py index c723d642c..cc82c2810 100644 --- a/datahub/export_win/admin.py +++ b/datahub/export_win/admin.py @@ -53,6 +53,10 @@ def __init__(self, *args, **kwargs): class AdvisorInline(BaseTabularInline): """Advisor model.""" + autocomplete_fields = ( + 'adviser', + ) + model = WinAdviser form = AdvisorInlineForm fields = ('id', 'adviser', 'team_type', 'hq_team', 'location') @@ -136,6 +140,12 @@ class WinAdmin(BaseModelAdminMixin, VersionAdmin): list_filter = ( ('created_on', DateFieldListFilter), ) + autocomplete_fields = ( + 'adviser', + 'company', + 'company_contacts', + 'lead_officer', + ) readonly_fields = ( 'id', 'created_on',