Add get_model_office_arch()
method for corepos handler
This commit is contained in:
parent
8eb097867e
commit
421a58efc2
|
@ -2,7 +2,7 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# Rattail -- Retail Software Framework
|
# Rattail -- Retail Software Framework
|
||||||
# Copyright © 2010-2023 Lance Edgar
|
# Copyright © 2010-2024 Lance Edgar
|
||||||
#
|
#
|
||||||
# This file is part of Rattail.
|
# This file is part of Rattail.
|
||||||
#
|
#
|
||||||
|
@ -54,6 +54,10 @@ class CoreHandler(GenericHandler):
|
||||||
from corepos.db.office_trans import model
|
from corepos.db.office_trans import model
|
||||||
return model
|
return model
|
||||||
|
|
||||||
|
def get_model_office_arch(self, **kwargs):
|
||||||
|
from corepos.db.office_arch import model
|
||||||
|
return model
|
||||||
|
|
||||||
def make_session_office_op(self, dbkey='default', **kwargs):
|
def make_session_office_op(self, dbkey='default', **kwargs):
|
||||||
from corepos.db.office_op import Session
|
from corepos.db.office_op import Session
|
||||||
if 'bind' not in kwargs:
|
if 'bind' not in kwargs:
|
||||||
|
|
Loading…
Reference in a new issue