Add CustomerGroupAssignment to customer version history

This commit is contained in:
Lance Edgar 2022-02-04 14:42:11 -06:00
parent ceb70eec4c
commit 9c75d7b560

View file

@ -2,7 +2,7 @@
################################################################################ ################################################################################
# #
# Rattail -- Retail Software Framework # Rattail -- Retail Software Framework
# Copyright © 2010-2021 Lance Edgar # Copyright © 2010-2022 Lance Edgar
# #
# This file is part of Rattail. # This file is part of Rattail.
# #
@ -400,6 +400,7 @@ class CustomerView(MasterView):
def get_version_child_classes(self): def get_version_child_classes(self):
return [ return [
(model.CustomerGroupAssignment, 'customer_uuid'),
(model.CustomerPhoneNumber, 'parent_uuid'), (model.CustomerPhoneNumber, 'parent_uuid'),
(model.CustomerEmailAddress, 'parent_uuid'), (model.CustomerEmailAddress, 'parent_uuid'),
(model.CustomerMailingAddress, 'parent_uuid'), (model.CustomerMailingAddress, 'parent_uuid'),