Use CORE-specific product handler; expose UOMs
This commit is contained in:
parent
41fd8d701c
commit
4d9bd84447
|
@ -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):
|
||||
|
|
|
@ -129,6 +129,11 @@ def simple_menus(request):
|
|||
'url': url('taxes'),
|
||||
'perm': 'taxes.list',
|
||||
},
|
||||
{
|
||||
'title': "Units of Measure",
|
||||
'url': url('uoms'),
|
||||
'perm': 'uoms.list',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue