Update ereuse_devicehub/inventory/forms.py
This commit is contained in:
parent
4ce359fec4
commit
6eb3c62b83
|
@ -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
|
||||
|
|
Reference in a new issue