Fix datasync for CORE -> Rattail, per CustomerShopper changes
This commit is contained in:
parent
a45d28cd6f
commit
6c21073182
|
@ -74,10 +74,10 @@ class FromCOREAPIToRattail(DataSyncImportConsumer):
|
|||
member = self.get_host_object(session, change)
|
||||
self.process_change(session, self.importers['Customer'],
|
||||
host_object=member)
|
||||
people = self.importers['Person'].get_person_objects_for_member(member)
|
||||
for person in people:
|
||||
self.process_change(session, self.importers['Person'],
|
||||
host_object=person)
|
||||
shoppers = self.importers['CustomerShopper'].get_shoppers_for_member(member)
|
||||
for shopper in shoppers:
|
||||
self.process_change(session, self.importers['CustomerShopper'],
|
||||
host_object=shopper)
|
||||
self.process_change(session, self.importers['Member'],
|
||||
host_object=member)
|
||||
|
||||
|
|
Loading…
Reference in a new issue