Disable TaxRate.sales_code attribute, for now

since some older DBs don't have it
This commit is contained in:
Lance Edgar 2020-03-30 13:44:22 -05:00
parent 64e4b18cf0
commit 14a182c675

View file

@ -244,7 +244,11 @@ class TaxRate(Base):
description = sa.Column(sa.String(length=50), nullable=True) 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): class TaxRateComponent(Base):