Skip to content

Commit

Permalink
Change the price to the price incl tax (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
viggo-devries authored Dec 3, 2024
1 parent f84a049 commit 18e205a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscar_odin/mappings/catalogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def map_stock_price(self) -> Tuple[Decimal, str, int, bool]:
else:
price_info = stock_strategy.fetch_for_product(self.source)
return (
getattr(price_info.price, "excl_tax", Decimal(0)),
getattr(price_info.price, "incl_tax", Decimal(0)),
getattr(price_info.price, "currency", ""),
getattr(price_info.availability, "num_available", 0),
price_info.availability.is_available_to_buy,
Expand Down

0 comments on commit 18e205a

Please sign in to comment.