diff --git a/rattail/db/extension/model.py b/rattail/db/extension/model.py index 90907a793176484c3d0ccbe40729ff07f2358bbe..ae97b240874f5e4559170f608e639307aff476e3 100644 --- a/rattail/db/extension/model.py +++ b/rattail/db/extension/model.py @@ -1050,6 +1050,12 @@ class CustomerGroup(Base): id = Column(String(20)) name = Column(String(255)) + def __repr__(self): + return "" % (self.id, self.name) + + def __unicode__(self): + return unicode(self.name or '') + class CustomerGroupAssignment(Base): """