InvenTree/InvenTree/stock
Oliver 0c8bb7328a
Change view queryset from .all() to .none() (#3125)
- For some reason, the reverse URL lookups would fail for stock items which were not "in stock"
- e.g. detail pages for stock items would fail to render if the stock item was "destroyed" or "quarantined"
- changing the queryset to .none() fixed this
- I do not know why...
2022-06-03 20:20:21 +10:00
..
fixtures fix endline 2022-05-20 13:35:07 +02:00
migrations Adds 'quarantine' code for StockItemStatus (#3084) 2022-05-27 15:12:15 +10:00
templates/stock Remove outdated forms / views for stock item tracking (#3122) 2022-06-03 12:20:37 +10:00
__init__.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
admin.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
api.py Change view queryset from .all() to .none() (#3125) 2022-06-03 20:20:21 +10:00
apps.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
forms.py Remove outdated forms / views for stock item tracking (#3122) 2022-06-03 12:20:37 +10:00
models.py Return from customer (#3120) 2022-06-03 08:36:08 +10:00
serializers.py Return from customer (#3120) 2022-06-03 08:36:08 +10:00
test_api.py Return from customer (#3120) 2022-06-03 08:36:08 +10:00
test_views.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tests.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
urls.py Remove outdated forms / views for stock item tracking (#3122) 2022-06-03 12:20:37 +10:00
views.py Remove outdated forms / views for stock item tracking (#3122) 2022-06-03 12:20:37 +10:00