2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 03:55:41 +00:00

Add endpoint for assigning a particular barcode to a StockItem

This commit is contained in:
Oliver Walters
2020-06-11 12:21:33 +10:00
parent a72ed11cb0
commit 22a8e82108
3 changed files with 137 additions and 0 deletions

View File

@ -33,6 +33,12 @@ class BarcodePlugin:
return self.PLUGIN_NAME
def __init__(self, barcode_data):
"""
Initialize the BarcodePlugin instance
Args:
barcode_data - The raw barcode data
"""
self.data = barcode_data