diff --git a/rattail_corepos/importing/versions.py b/rattail_corepos/importing/versions.py index 06c1d12..b060d9a 100644 --- a/rattail_corepos/importing/versions.py +++ b/rattail_corepos/importing/versions.py @@ -27,13 +27,12 @@ Rattail -> Rattail "versions" data import from rattail.importing import versions as base -class FromRattailToRattailVersions(base.FromRattailToRattailVersions): +class CoreposVersionMixin(object): """ - Handler for Rattail -> Rattail "versions" data import + Add default registration of custom importers """ - def get_importers(self): - importers = super(FromRattailToRattailVersions, self).get_importers() + def add_corepos_importers(self, importers): importers['CorePerson'] = CorePersonImporter importers['CoreCustomer'] = CoreCustomerImporter importers['CoreMember'] = CoreMemberImporter