openedx / edx-enterprise

GNU Affero General Public License v3.0
43 stars 46 forks source link

fix: Add CountryFieldMixin to the EnterpriseCustomer serializer #2172

Closed brobro10000 closed 1 month ago

brobro10000 commented 1 month ago

In stage, the enterprise dashboard list call found on the enterprise admin portal is not populating with enterprise customers. Looking into the logs we are return the following error.

image

We add the CountryFieldMixin to the EnterpriseCustomer serializer to resolve the issue. https://github.com/SmileyChris/django-countries?tab=readme-ov-file#django-rest-framework

Merge checklist:

Post merge:

brobro10000 commented 1 month ago

Closing out this PR. The missing stage data has been remediated, so no further action in necessary from a code perspective.