diff --git a/corepos/db/office_op/model.py b/corepos/db/office_op/model.py index 67e9be8..b61bdd3 100644 --- a/corepos/db/office_op/model.py +++ b/corepos/db/office_op/model.py @@ -244,7 +244,11 @@ class TaxRate(Base): description = sa.Column(sa.String(length=50), nullable=True) - sales_code = sa.Column('salesCode', sa.Integer(), nullable=True) + # TODO: this was not in some older DBs + # sales_code = sa.Column('salesCode', sa.Integer(), nullable=True) + + def __str__(self): + return self.description or "" class TaxRateComponent(Base):