Fixed critical error in Batch table

This commit is contained in:
Tanshu 2013-06-21 16:27:27 +05:30
parent 5972dd6b75
commit a2587cda60

View File

@ -218,7 +218,7 @@ class Batch(Base):
__tablename__ = 'entities_batches'
id = Column('BatchID', GUID(), primary_key=True, default=uuid.uuid4)
name = Column('Date', DateTime)
name = Column('Name', DateTime)
product_id = Column('ProductID', GUID(), ForeignKey('entities_products.ProductID'))
quantity_remaining = Column('QuantityRemaining', Numeric)
rate = Column('Rate', Numeric)