diff --git a/rattail_corepos/config.py b/rattail_corepos/config.py index f9d3852..75f8f76 100644 --- a/rattail_corepos/config.py +++ b/rattail_corepos/config.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2022 Lance Edgar +# Copyright © 2010-2023 Lance Edgar # # This file is part of Rattail. # @@ -70,6 +70,10 @@ class RattailCOREPOSExtension(ConfigExtension): config.core_lane_op_engine = engines.get('default') Session.configure(bind=config.core_lane_op_engine) + ############################## + # import handlers + ############################## + # rattail corepos-import-square config.setdefault('rattail.importing', 'to_corepos_db_office_trans.from_square_csv.import.default_handler', 'rattail_corepos.corepos.importing.db.square:FromSquareToCoreTrans') @@ -152,6 +156,14 @@ class RattailCOREPOSExtension(ConfigExtension): config.setdefault('rattail.importing', 'to_corepos_db_office_op.from_csv.import.legacy_setting', 'rattail_corepos.importing, csv.handler') + ############################## + # batch handlers + ############################## + + # corepos_member + config.setdefault('rattail.batch', 'corepos_member.handler.default', + 'rattail_corepos.batch.coremember:CoreMemberBatchHandler') + def core_office_url(config, require=False, **kwargs): """