mirror of
https://github.com/inventree/InvenTree.git
synced 2025-10-24 01:47:39 +00:00
re-add missing schema generation exception
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user