This commit is contained in:
Cayo Puigdefabregas 2022-09-26 11:42:50 +02:00
parent 194fe366fd
commit e589cedb49

View file

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