Update ereuse_devicehub/inventory/forms.py

This commit is contained in:
Santiago L 2022-02-22 11:12:15 +01:00 committed by GitHub
parent 4ce359fec4
commit 6eb3c62b83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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