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
|
@ -48,6 +48,8 @@ class FromCOREPOSToRattail(importing.ToRattailHandler):
|
|||
"""
|
||||
Import handler for data coming from a CORE POS API.
|
||||
"""
|
||||
host_key = 'corepos_api'
|
||||
generic_host_title = "CORE Office (API)"
|
||||
host_title = "CORE-POS (API)"
|
||||
|
||||
def get_importers(self):
|
||||
|
|
|
@ -38,6 +38,8 @@ class FromCOREPOSToRattail(importing.FromSQLAlchemyHandler, importing.ToRattailH
|
|||
"""
|
||||
Import handler for data coming from a CORE POS database.
|
||||
"""
|
||||
generic_host_title = 'CORE Office (DB "op")'
|
||||
host_key = 'corepos_db_office_op'
|
||||
corepos_dbkey = 'default'
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue