diff --git a/theo/config.py b/theo/config.py index 2ee3203..026c86b 100644 --- a/theo/config.py +++ b/theo/config.py @@ -47,6 +47,7 @@ class TheoConfig(ConfigExtension): config.setdefault('rattail', 'settings', 'theo.appsettings.theo') config.setdefault('rattail.mail', 'emails', 'theo.emails.theo, theo.emails.corepos') config.setdefault('rattail.importing', 'versions.handler', 'theo.importing.versions_corepos:FromTheoToTheoVersions') + config.setdefault('rattail', 'products.handler', 'rattail_corepos.products:CoreProductsHandler') # do we integrate w/ Catapult? elif integrate_catapult(config): diff --git a/theo/web/menus.py b/theo/web/menus.py index 5240046..b60d1ce 100644 --- a/theo/web/menus.py +++ b/theo/web/menus.py @@ -129,6 +129,11 @@ def simple_menus(request): 'url': url('taxes'), 'perm': 'taxes.list', }, + { + 'title': "Units of Measure", + 'url': url('uoms'), + 'perm': 'uoms.list', + }, ], } diff --git a/theo/web/views/__init__.py b/theo/web/views/__init__.py index ec40156..253236e 100644 --- a/theo/web/views/__init__.py +++ b/theo/web/views/__init__.py @@ -47,6 +47,7 @@ def includeme(config): config.include('tailbone.views.roles') config.include('tailbone.views.settings') config.include('tailbone.views.users') + config.include('tailbone.views.uoms') # do we integrate w/ Catapult? if integrate_catapult(rattail_config):