From 65cc53c90097ef1b435158100c405d34fb6a32c7 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 15 Jul 2020 21:49:00 -0500 Subject: [PATCH] Set custom version import handler for corepos integration --- theo/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/theo/config.py b/theo/config.py index 5008293..aea4152 100644 --- a/theo/config.py +++ b/theo/config.py @@ -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):