Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Merge branch 'master' into allow-to-delete-category-and-leave-products

IKarbowiakd79112b02d91
diff --cc CHANGELOG.md
index 4560c496fe,6296f2dc8c..9f264a99a7
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -8,7 -8,9 +8,9 @@@ All notable, unreleased changes to thi
- Add sub-categories to random data - #4949 by @IKarbowiak
- Deprecate `localized` field in Money type - #4952 by @IKarbowiak
- Fix for shipping api doesn't apply taxes - #4913 by @kswiatek92
+ - Query object translation with only manage_translation permission - #4914 by @fowczarek
-- Add cutomer note to draft orders api - #4973 by @IKarbowiak
-
++- Add customer note to draft orders api - #4973 by @IKarbowiak
+- Allow to delete category and leave products - #4970 by @IKarbowiak
## 2.9.0
diff --cc saleor/graphql/schema.graphql
index 2a9ca8fde4,0c565eac5e..770cc50756
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@@ -2861,8 -2917,10 +2917,10 @@@ type Product implements Node
name: String!
description: String!
descriptionJson: JSONString!
+ publicationDate: Date
+ isPublished: Boolean!
+ productType: ProductType!
- category: Category!
+ category: Category
updatedAt: DateTime
chargeTaxes: Boolean!
weight: Weight
diff --cc tests/conftest.py
index 3372d69071,6b9d36cd3c..4008cc394a
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@@ -1,8 -1,9 +1,10 @@@
+import datetime
import uuid
+ from contextlib import contextmanager
from decimal import Decimal
+ from functools import partial
from io import BytesIO
- from typing import List
+ from typing import List, Optional
from unittest.mock import MagicMock, Mock
import pytest