Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove obsolete method
Mira Szewczyk9765354c72cb
diff --git a/saleor/product/models.py b/saleor/product/models.pyindex 88988437b3..5d7d93fe38 100644--- a/saleor/product/models.py+++ b/saleor/product/models.py@@ -328,10 +328,6 @@ class Product(SeoModel, ModelWithMetadata, PublishableModel):return json_content_to_raw_text(self.description_json)return strip_tags(self.description)- @property- def is_available(self) -> bool:- return self.is_visible and self.is_in_stock()-# Deprecated. To remove in #5022@staticmethoddef get_absolute_url() -> str: