Use CORE-specific product handler; expose UOMs

This commit is contained in:
Lance Edgar 2021-01-26 17:30:56 -06:00
parent 41fd8d701c
commit 4d9bd84447
3 changed files with 7 additions and 0 deletions

View file

@ -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):

View file

@ -129,6 +129,11 @@ def simple_menus(request):
'url': url('taxes'),
'perm': 'taxes.list',
},
{
'title': "Units of Measure",
'url': url('uoms'),
'perm': 'uoms.list',
},
],
}

View file

@ -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):