feat: temp barcode templates
This commit is contained in:
@@ -15,7 +15,7 @@ class Product(BaseModel):
|
||||
barcodes = relationship('ProductBarcode', back_populates='product', cascade="all, delete-orphan")
|
||||
|
||||
barcode_template_id = Column(Integer, ForeignKey('barcode_templates.id'), nullable=True)
|
||||
barcode_template = relationship('BarcodeTemplate')
|
||||
barcode_template = relationship('BarcodeTemplate', lazy='joined')
|
||||
|
||||
|
||||
class ProductBarcode(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user