diff --git a/theo/config.py b/theo/config.py index 587f80c..1aa62d6 100644 --- a/theo/config.py +++ b/theo/config.py @@ -46,7 +46,7 @@ class TheoConfig(ConfigExtension): # do we integrate w/ CORE-POS? if integrate_corepos(config): - config.setdefault('rattail', 'model', 'theo.db.model_corepos') + config.setdefault('rattail', 'model_spec', 'theo.db.model_corepos') config.setdefault('rattail', 'settings', 'theo.appsettings.theo') config.setdefault('rattail', 'products.handler', 'rattail_corepos.products:CoreProductsHandler') config.setdefault('rattail.batch', 'vendor_catalog.handler.spec', 'rattail_corepos.batch.vendorcatalog:VendorCatalogHandler') @@ -55,13 +55,13 @@ class TheoConfig(ConfigExtension): # do we integrate w/ Catapult? elif integrate_catapult(config): - config.setdefault('rattail', 'model', 'theo.db.model_catapult') + config.setdefault('rattail', 'model_spec', 'theo.db.model_catapult') config.setdefault('rattail', 'settings', 'theo.appsettings.theo, theo.appsettings.catapult') config.setdefault('rattail.importing', 'versions.handler', 'theo.importing.versions_catapult:FromTheoToTheoVersions') # do we integrate w/ LOC SMS? elif integrate_locsms(config): - config.setdefault('rattail', 'model', 'theo.db.model_locsms') + config.setdefault('rattail', 'model_spec', 'theo.db.model_locsms') config.setdefault('rattail', 'settings', 'theo.appsettings.theo') config.setdefault('rattail.importing', 'versions.handler', 'theo.importing.versions_locsms:FromTheoToTheoVersions')