2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-10-24 18:07:38 +00:00

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

View File

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