Skip to content

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

Drop the charge choice in the payments transaction kind

NyanKiyoshi179a865b883f
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 0567d36675..2445f8cac3 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -2588,7 +2588,6 @@ enum TransactionError {
enum TransactionKind {
AUTH
- CHARGE
REFUND
CAPTURE
VOID
diff --git a/saleor/payment/migrations/0011_auto_20190516_0901.py b/saleor/payment/migrations/0011_auto_20190516_0901.py
new file mode 100644
index 0000000000..6a85d5b8cb
--- /dev/null
+++ b/saleor/payment/migrations/0011_auto_20190516_0901.py
@@ -0,0 +1,24 @@
+# Generated by Django 2.2.1 on 2019-05-16 14:01
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [("payment", "0010_auto_20190220_2001")]
+
+ operations = [
+ migrations.AlterField(
+ model_name="transaction",
+ name="kind",
+ field=models.CharField(
+ choices=[
+ ("auth", "Authorization"),
+ ("refund", "Refund"),
+ ("capture", "Capture"),
+ ("void", "Void"),
+ ],
+ max_length=10,
+ ),
+ )
+ ]
diff --git a/saleor/static/dashboard-next/types/globalTypes.ts b/saleor/static/dashboard-next/types/globalTypes.ts
index e0a990fcf1..bf528dd138 100644
--- a/saleor/static/dashboard-next/types/globalTypes.ts
+++ b/saleor/static/dashboard-next/types/globalTypes.ts
@@ -42,6 +42,7 @@ export enum LanguageCodeEnum {
DE = "DE",
EN = "EN",
ES = "ES",
+ ES_CO = "ES_CO",
ET = "ET",
FA = "FA",
FR = "FR",
@@ -52,6 +53,7 @@ export enum LanguageCodeEnum {
IT = "IT",
JA = "JA",
KO = "KO",
+ LT = "LT",
MN = "MN",
NB = "NB",
NL = "NL",
@@ -61,6 +63,7 @@ export enum LanguageCodeEnum {
RO = "RO",
RU = "RU",
SK = "SK",
+ SQ = "SQ",
SR = "SR",
SV = "SV",
SW = "SW",