mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-19 19:26:29 +00:00
this seems fine - just keep it that way
This commit is contained in:
@@ -63,7 +63,6 @@ class BarcodeScan(APIView):
|
|||||||
plugin = None
|
plugin = None
|
||||||
|
|
||||||
for current_plugin in plugins:
|
for current_plugin in plugins:
|
||||||
# TODO @matmair make simpler after InvenTree 0.7.0 release
|
|
||||||
current_plugin.init(barcode_data)
|
current_plugin.init(barcode_data)
|
||||||
|
|
||||||
if current_plugin.validate():
|
if current_plugin.validate():
|
||||||
@@ -168,7 +167,6 @@ class BarcodeAssign(APIView):
|
|||||||
plugin = None
|
plugin = None
|
||||||
|
|
||||||
for current_plugin in plugins:
|
for current_plugin in plugins:
|
||||||
# TODO @matmair make simpler after InvenTree 0.7.0 release
|
|
||||||
current_plugin.init(barcode_data)
|
current_plugin.init(barcode_data)
|
||||||
|
|
||||||
if current_plugin.validate():
|
if current_plugin.validate():
|
||||||
|
Reference in New Issue
Block a user