Rename custdata
model to CustomerClassic
This commit is contained in:
parent
852a989bd5
commit
4952d2fa3d
2 changed files with 17 additions and 9 deletions
|
@ -209,7 +209,7 @@ class Product(Base):
|
|||
last_sold = sa.Column(sa.DateTime(), nullable=True)
|
||||
|
||||
|
||||
class CustData(Base):
|
||||
class CustomerClassic(Base):
|
||||
"""
|
||||
Represents a customer of the organization.
|
||||
|
||||
|
@ -275,3 +275,7 @@ class CustData(Base):
|
|||
|
||||
def __str__(self):
|
||||
return "{} {}".format(self.first_name or '', self.last_name or '').strip()
|
||||
|
||||
|
||||
# TODO: deprecate / remove this
|
||||
CustData = CustomerClassic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue