diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index b97bb539e3..ec755aad58 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -890,7 +890,7 @@ class InvenTreeUserSetting(BaseInvenTreeSetting): @classmethod def get_filters(cls, key, **kwargs): - return {'key__iexact': key, 'user__id__iexact': kwargs['user'].id} + return {'key__iexact': key, 'user__id': kwargs['user'].id} class PriceBreak(models.Model):