Avoid deprecated import for OrderedDict
This commit is contained in:
parent
d1233089de
commit
eb5027e384
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue