Skip to content

Commit

Permalink
Merge pull request #2146 from openedx/pmakwana/ENT-9059
Browse files Browse the repository at this point in the history
Updating autocomplete field for Enterprise Group creation form
  • Loading branch information
pmakwana93 authored Jun 13, 2024
2 parents 4f95649 + 65518a3 commit 3331e33
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Unreleased
----------
* nothing unreleased

[4.20.1]
---------
* feat: Updating autocomplete field for Enteprise Group creation form

[4.20.0]
---------
* feat: Added a new field show_videos_in_learner_portal_search_results in the EnterpriseCustomer model.
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "4.20.0"
__version__ = "4.20.1"
2 changes: 2 additions & 0 deletions enterprise/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,8 @@ class EnterpriseGroupAdmin(admin.ModelAdmin):
)
readonly_fields = ('count', 'members',)

autocomplete_fields = ['enterprise_customer']

def members(self, obj):
"""
Return the non-deleted members of a group
Expand Down

0 comments on commit 3331e33

Please sign in to comment.