Set custom version import handler for corepos integration
This commit is contained in:
parent
e7d2d98e19
commit
65cc53c900
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue