re-add missing schema generation exception

This commit is contained in:
Matthias Mair 2025-10-14 22:21:58 +02:00
parent 96d56b31ef
commit 4a1f805840
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 4 additions and 1 deletions

View File

@ -91,7 +91,10 @@ class PathScopedMixin:
def do_filtering(self, *args, **kwargs):
"""Do the actual filtering."""
if not hasattr(self, 'filter_target_values'):
if (
not hasattr(self, 'filter_target_values')
or InvenTree.ready.isGeneratingSchema()
):
return
# Throw out fields which are not requested