align error message

This commit is contained in:
Matthias Mair 2026-06-24 00:32:06 +02:00
parent 3f624f23fd
commit fee869e92a
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 1 additions and 1 deletions

View File

@ -1341,7 +1341,7 @@ class InvenTreeBarcodeMixin(models.Model):
if not check_user_permission(user, self, 'view'):
raise PermissionDenied(
_('User does not have permission to view this object')
_('User does not have permission to view this model')
)
data = {'pk': self.pk}