Add vendor catalog batch feature, w/ basic CORE integration
This commit is contained in:
parent
7133e8d097
commit
2ec18e9e79
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2020 Lance Edgar
|
||||
# Copyright © 2010-2021 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -46,8 +46,9 @@ class TheoConfig(ConfigExtension):
|
|||
config.setdefault('rattail', 'model', 'theo.db.model_corepos')
|
||||
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')
|
||||
config.setdefault('rattail.batch', 'vendor_catalog.handler', 'rattail_corepos.batch.vendorcatalog:VendorCatalogHandler')
|
||||
config.setdefault('rattail.importing', 'versions.handler', 'theo.importing.versions_corepos:FromTheoToTheoVersions')
|
||||
|
||||
# do we integrate w/ Catapult?
|
||||
elif integrate_catapult(config):
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2020 Lance Edgar
|
||||
# Copyright © 2010-2021 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -163,6 +163,12 @@ def simple_menus(request):
|
|||
'url': url('purchases.credits'),
|
||||
'perm': 'purchases.credits.list',
|
||||
},
|
||||
{'type': 'sep'},
|
||||
{
|
||||
'title': "Catalog Batches",
|
||||
'url': url('vendorcatalogs'),
|
||||
'perm': 'vendorcatalogs.list',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2020 Lance Edgar
|
||||
# Copyright © 2010-2021 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -54,6 +54,7 @@ def includeme(config):
|
|||
|
||||
# purchasing / receiving
|
||||
config.include('tailbone.views.purchasing')
|
||||
config.include('tailbone.views.batch.vendorcatalog')
|
||||
|
||||
# do we integrate w/ Catapult?
|
||||
if integrate_catapult(rattail_config):
|
||||
|
|
Loading…
Reference in a new issue