Avoid deprecated import for OrderedDict

This commit is contained in:
Lance Edgar 2023-05-05 02:02:17 -05:00
parent d1233089de
commit eb5027e384
5 changed files with 15 additions and 12 deletions

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar
# Copyright © 2010-2023 Lance Edgar
#
# This file is part of Rattail.
#
@ -24,9 +24,9 @@
CORE-POS group views
"""
from corepos.db.office_op import model as corepos
from collections import OrderedDict
from rattail.util import OrderedDict
from corepos.db.office_op import model as corepos
from webhelpers2.html import HTML

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar
# Copyright © 2010-2023 Lance Edgar
#
# This file is part of Rattail.
#
@ -24,7 +24,8 @@
CORE POS master view
"""
from rattail.util import OrderedDict
from collections import OrderedDict
from rattail.time import localtime
from rattail_corepos.config import core_office_url

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar
# Copyright © 2010-2023 Lance Edgar
#
# This file is part of Rattail.
#
@ -24,9 +24,9 @@
CORE-POS "archive" transaction views
"""
from corepos.db.office_trans_archive import model as corearch
from collections import OrderedDict
from rattail.util import OrderedDict
from corepos.db.office_trans_archive import model as corearch
from .base import TransactionDetailMasterView
from tailbone_corepos.db import CoreTransArchiveSession, ExtraCoreTransArchiveSessions

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar
# Copyright © 2010-2023 Lance Edgar
#
# This file is part of Rattail.
#
@ -24,9 +24,10 @@
CORE-POS transaction views
"""
from collections import OrderedDict
from corepos.db.office_trans import model as coretrans
from rattail.util import OrderedDict
from rattail_corepos.corepos.importing.db.square import FromSquareToCoreTrans
from .base import TransactionDetailMasterView

View file

@ -2,7 +2,7 @@
################################################################################
#
# Rattail -- Retail Software Framework
# Copyright © 2010-2022 Lance Edgar
# Copyright © 2010-2023 Lance Edgar
#
# This file is part of Rattail.
#
@ -24,8 +24,9 @@
Person views
"""
from collections import OrderedDict
from rattail_corepos.config import core_office_customer_account_url
from rattail.util import OrderedDict
from tailbone.views import ViewSupplement