Skip to content

Commit

Permalink
no kwarg please
Browse files Browse the repository at this point in the history
  • Loading branch information
GijsHighbiza committed Aug 28, 2024
1 parent 2c5b165 commit a4b2e95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions oscar_odin/mappings/catalogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ def map_stock_price(self) -> Tuple[Decimal, str, int, bool]:
price, availability, _ = stock_strategy.fetch_for_parent(self.source)
else:
price, availability, _ = stock_strategy.fetch_for_product(self.source)

return (
getattr(price, "excl_tax", Decimal(0)),
getattr(price, "currency", ""),
Expand Down Expand Up @@ -410,7 +409,7 @@ def product_queryset_to_resources(
request,
user,
include_children,
product_mapper=product_mapper,
product_mapper,
**kwargs,
)

Expand Down

0 comments on commit a4b2e95

Please sign in to comment.