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
|
||||
# Copyright © 2010-2023 Lance Edgar
|
||||
# Copyright © 2010-2024 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -54,6 +54,10 @@ class CoreHandler(GenericHandler):
|
|||
from corepos.db.office_trans import 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):
|
||||
from corepos.db.office_op import Session
|
||||
if 'bind' not in kwargs:
|
||||
|
|
Loading…
Reference in a new issue