fix trade form for unassigned list

This commit is contained in:
Cayo Puigdefabregas 2022-02-17 13:51:59 +01:00
parent 403717ccf2
commit 37779ca05c
1 changed files with 1 additions and 6 deletions

View File

@ -53,12 +53,7 @@ class DeviceListMix(View):
form_new_action = NewActionForm()
form_new_allocate = AllocateForm()
form_new_datawipe = DataWipeForm()
form_new_trade = TradeForm(
receiver=g.user.email,
supplier=g.user.email,
type='Trade'
)
form_new_trade = ''
action_devices = form_new_action.devices.data
list_devices = []
if action_devices: