Set custom version import handler for corepos integration

This commit is contained in:
Lance Edgar 2020-07-15 21:49:00 -05:00
parent e7d2d98e19
commit 65cc53c900

View file

@ -49,6 +49,7 @@ class TheoConfig(ConfigExtension):
# do we integrate w/ CORE-POS?
elif integrate_corepos(config):
config.setdefault('rattail', 'model', 'theo.db.model_corepos')
config.setdefault('rattail.importing', 'versions.handler', 'rattail_corepos.importing.versions:FromRattailToRattailVersions')
def integrate_catapult(config):