From 6eb3c62b83363e9ebd405dfe9726377e77f2337f Mon Sep 17 00:00:00 2001 From: Santiago L Date: Tue, 22 Feb 2022 11:12:15 +0100 Subject: [PATCH] Update ereuse_devicehub/inventory/forms.py --- ereuse_devicehub/inventory/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ereuse_devicehub/inventory/forms.py b/ereuse_devicehub/inventory/forms.py index e6b6bb05..a997040e 100644 --- a/ereuse_devicehub/inventory/forms.py +++ b/ereuse_devicehub/inventory/forms.py @@ -727,6 +727,7 @@ class TradeForm(NewActionForm): code = self.code.data if user_from and user_to: + # both users exist, no further action is necessary return # Creating receiver phantom account