Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
refactor: made changes as per new version of oscar
Browse files Browse the repository at this point in the history
  • Loading branch information
zubair-ce07 committed Nov 13, 2023
1 parent adfde3d commit 04dc5d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ecommerce/extensions/checkout/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def add_product_tracking(self, order):
)
return "".join(products_for_tracking)

def get_object(self):
def get_object(self, queryset=None):
kwargs = {
'number': self.request.GET['order_number'],
'site': self.request.site,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from django.core.management import BaseCommand
from django.db.models import signals
from django.template.defaultfilters import pluralize
from oscar.apps.offer.signals import delete_unused_related_conditions_and_benefits
from oscar.apps.offer.receivers import delete_unused_related_conditions_and_benefits
from oscar.core.loading import get_model

from ecommerce.extensions.order.management.commands.prompt import query_yes_no
Expand Down

0 comments on commit 04dc5d5

Please sign in to comment.