mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-02 10:18:42 +00:00
Fix import
This commit is contained in:
@@ -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