Some tweaks to expose CORE <-> Rattail import handlers in web app
This commit is contained in:
parent
4a36c417e7
commit
0e28a6ee2b
5 changed files with 17 additions and 2 deletions
|
@ -38,6 +38,8 @@ class FromCoreOfficeHandler(FromSQLAlchemyHandler):
|
|||
"""
|
||||
Base class for import handlers which use CORE Office as the host.
|
||||
"""
|
||||
host_key = 'corepos_db_office_op'
|
||||
generic_host_title = 'CORE Office (DB "op")'
|
||||
host_title = "CORE Office"
|
||||
|
||||
def make_host_session(self):
|
||||
|
@ -50,6 +52,8 @@ class ToCoreLaneHandler(ToSQLAlchemyHandler):
|
|||
Base class for import handlers which target CORE Lane on the local side.
|
||||
"""
|
||||
local_title = "CORE Lane"
|
||||
local_key = 'corepos_db_lane_op'
|
||||
generic_local_title = 'CORE Lane (DB "op")'
|
||||
|
||||
def make_session(self):
|
||||
return CoreLaneSession()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue