mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-30 03:24:38 +00:00
Fix import
This commit is contained in:
1 parent
427eb6d4b3
commit
77114caa02
1 file changed
+3
@@ -13,6 +13,7 @@ from common.settings import get_global_setting
|
|||||||
|
|
||||||
def note_model_types():
|
def note_model_types():
|
||||||
"""Return a list of valid note model choices."""
|
"""Return a list of valid note model choices."""
|
||||||
|
import InvenTree.helpers_model
|
||||||
import InvenTree.models
|
import InvenTree.models
|
||||||
|
|
||||||
return list(
|
return list(
|
||||||
@@ -30,6 +31,7 @@ def note_model_options():
|
|||||||
|
|
||||||
def parameter_model_types():
|
def parameter_model_types():
|
||||||
"""Return a list of valid parameter model choices."""
|
"""Return a list of valid parameter model choices."""
|
||||||
|
import InvenTree.helpers_model
|
||||||
import InvenTree.models
|
import InvenTree.models
|
||||||
|
|
||||||
return list(
|
return list(
|
||||||
@@ -59,6 +61,7 @@ def parameter_template_model_options():
|
|||||||
|
|
||||||
def attachment_model_types():
|
def attachment_model_types():
|
||||||
"""Return a list of valid attachment model choices."""
|
"""Return a list of valid attachment model choices."""
|
||||||
|
import InvenTree.helpers_model
|
||||||
import InvenTree.models
|
import InvenTree.models
|
||||||
|
|
||||||
return list(
|
return list(
|
||||||
|
|||||||
Reference in new issue
Block a user