fix trade form for unassigned list
This commit is contained in:
parent
403717ccf2
commit
37779ca05c
|
@ -53,12 +53,7 @@ class DeviceListMix(View):
|
||||||
form_new_action = NewActionForm()
|
form_new_action = NewActionForm()
|
||||||
form_new_allocate = AllocateForm()
|
form_new_allocate = AllocateForm()
|
||||||
form_new_datawipe = DataWipeForm()
|
form_new_datawipe = DataWipeForm()
|
||||||
form_new_trade = TradeForm(
|
form_new_trade = ''
|
||||||
receiver=g.user.email,
|
|
||||||
supplier=g.user.email,
|
|
||||||
type='Trade'
|
|
||||||
)
|
|
||||||
|
|
||||||
action_devices = form_new_action.devices.data
|
action_devices = form_new_action.devices.data
|
||||||
list_devices = []
|
list_devices = []
|
||||||
if action_devices:
|
if action_devices:
|
||||||
|
|
Reference in a new issue