Add get_model_office_arch() method for corepos handler

This commit is contained in:
Lance Edgar 2024-05-08 20:14:33 -05:00
parent 8eb097867e
commit 421a58efc2

View file

@ -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: