Use custom Purchase views when integrating with CORE

This commit is contained in:
Lance Edgar 2021-02-02 12:02:05 -06:00
parent ade406ec3b
commit 4d36d003f2

View file

@ -53,7 +53,6 @@ def includeme(config):
config.include('tailbone.views.custorders')
# purchasing / receiving
config.include('tailbone.views.purchases')
config.include('tailbone.views.purchasing')
# do we integrate w/ Catapult?
@ -69,6 +68,7 @@ def includeme(config):
config.include('tailbone_onager.views.brands')
config.include('tailbone_onager.views.vendors')
config.include('tailbone_onager.views.products')
config.include('tailbone.views.purchases')
config.include('tailbone_onager.views.catapult')
# do we integrate w/ CORE-POS?
@ -84,6 +84,8 @@ def includeme(config):
config.include('tailbone.views.brands')
config.include('tailbone_corepos.views.vendors')
config.include('tailbone_corepos.views.products')
config.include('tailbone_corepos.views.purchases')
config.include('tailbone.views.purchases.credits')
config.include('tailbone_corepos.views.corepos')
# do we integrate w/ LOC SMS?
@ -99,6 +101,7 @@ def includeme(config):
config.include('tailbone.views.brands')
config.include('tailbone.views.vendors')
config.include('tailbone.views.products')
config.include('tailbone.views.purchases')
config.include('tailbone_locsms.views.locsms')
else: # no POS integration
@ -113,3 +116,4 @@ def includeme(config):
config.include('tailbone.views.brands')
config.include('tailbone.views.vendors')
config.include('tailbone.views.products')
config.include('tailbone.views.purchases')