Build [v1.5.0] - Box Management & Label Printing

This commit is contained in:
Daniel Bedeleanu
2026-04-12 21:30:50 +03:00
parent e383b97d44
commit 2e5c666cc8
18 changed files with 1007 additions and 336 deletions

View File

@@ -41,6 +41,9 @@ class Item(Base):
min_quantity = Column(Float, default=1.0)
image_url = Column(String, nullable=True)
# Generic box/container association for multi-item OCR scanning
box_label = Column(String, index=True, nullable=True)
# Full AI metadata
labels_data = Column(Text, nullable=True)
@@ -52,6 +55,10 @@ class AuditLog(Base):
user_id = Column(Integer, ForeignKey("users.id"))
action = Column(String) # e.g., 'CHECK_IN', 'CHECK_OUT', 'CREATE_ITEM'
target_item_id = Column(Integer, nullable=True)
target_item_name = Column(String, nullable=True)
target_item_pn = Column(String, nullable=True)
target_item_barcode = Column(String, nullable=True)
target_snapshot = Column(Text, nullable=True) # Full JSON snapshot
quantity_change = Column(Float, nullable=True)
uuid = Column(String, unique=True, index=True, nullable=True)
details = Column(Text, nullable=True) # For reasons, sync notes, etc.