fix it
This commit is contained in:
parent
194fe366fd
commit
e589cedb49
|
@ -654,6 +654,8 @@ class NewActionView(View):
|
|||
if lot_id:
|
||||
return url_for('inventory.lotdevicelist', lot_id=lot_id)
|
||||
|
||||
if url_for('inventory.alldevicelist') in request.referrer:
|
||||
return url_for('inventory.alldevicelist')
|
||||
return url_for('inventory.devicelist')
|
||||
|
||||
|
||||
|
|
Reference in a new issue