diff --git a/openedx/core/djangoapps/user_api/accounts/settings_views.py b/openedx/core/djangoapps/user_api/accounts/settings_views.py index 177fba641ef..f2b53ecb6f3 100644 --- a/openedx/core/djangoapps/user_api/accounts/settings_views.py +++ b/openedx/core/djangoapps/user_api/accounts/settings_views.py @@ -159,7 +159,7 @@ def account_settings_context(request): 'show_dashboard_tabs': True, 'order_history': user_orders, 'disable_order_history_tab': ( - configuration_helpers.get_value('DISABLE_ORDER_HISTORY_TAB', False) + getattr(settings, 'DISABLE_ORDER_HISTORY_TAB', False) or should_redirect_to_order_history_microfrontend() ), 'enable_account_deletion': configuration_helpers.get_value(