Disable TaxRate.sales_code
attribute, for now
since some older DBs don't have it
This commit is contained in:
parent
64e4b18cf0
commit
14a182c675
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue