From 748cfa348794b870ccb957fb8762bccb681d1b2a Mon Sep 17 00:00:00 2001 From: Ayan Ginet <39133100+ayanginet@users.noreply.github.com> Date: Wed, 20 Jan 2021 21:10:40 +0500 Subject: [PATCH] Documentation typo fix (#1908) --- src/pretix/base/models/orders.py | 2 +- src/pretix/control/forms/orders.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/base/models/orders.py b/src/pretix/base/models/orders.py index 9a3cc611ed..1cfd227659 100644 --- a/src/pretix/base/models/orders.py +++ b/src/pretix/base/models/orders.py @@ -1759,7 +1759,7 @@ class OrderRefund(models.Model): Marks the refund as complete. This does not modify the state of the order. :param user: The user who performed the change - :param user: The API auth token that performed the change + :param auth: The API auth token that performed the change """ self.state = self.REFUND_STATE_DONE self.execution_date = self.execution_date or now() diff --git a/src/pretix/control/forms/orders.py b/src/pretix/control/forms/orders.py index e8b0df0715..9f6d3d968d 100644 --- a/src/pretix/control/forms/orders.py +++ b/src/pretix/control/forms/orders.py @@ -616,7 +616,7 @@ class EventCancelForm(forms.Form): required=False ) manual_refund = forms.BooleanField( - label=_('Create manual refund if the payment method odes not support automatic refunds'), + label=_('Create manual refund if the payment method does not support automatic refunds'), widget=forms.CheckboxInput(attrs={'data-display-dependency': '#id_auto_refund'}), initial=True, required=False,