Configure engine for CORE "transactions" DB
This commit is contained in:
parent
61a16f2400
commit
13376952a9
|
@ -58,8 +58,9 @@ def main(global_config, **settings):
|
|||
|
||||
# CORE-POS DB(s)
|
||||
if integrate_corepos(rattail_config):
|
||||
from tailbone_corepos.db import CoreOfficeSession
|
||||
from tailbone_corepos.db import CoreOfficeSession, CoreTransSession
|
||||
CoreOfficeSession.configure(bind=rattail_config.corepos_engine)
|
||||
CoreTransSession.configure(bind=rattail_config.coretrans_engine)
|
||||
|
||||
# Catapult DB(s)
|
||||
if integrate_catapult(rattail_config):
|
||||
|
|
Loading…
Reference in a new issue