InvenTree/InvenTree/part
Oliver 16ff1936cd
Bypass cache when displaying settings on "settings" page (#4499)
* Bypass cache when displaying settings on "settings" page

- Sometimes caching issues can cause "old" values to be stored (depends on the worker)
- Until we have a shared cache, this is a problem
- Force the settings to be re-loaded from the database when displaying
- Further improvement would be to render them via the API

* Bypass cache for report and label printing

* Update test

(cherry picked from commit 18c7c1d756)
2023-03-16 19:55:07 +11:00
..
fixtures Extend functionality of custom validation plugins (#4391) 2023-03-07 22:43:12 +11:00
migrations Update BomItem 'validated' field (#4486) 2023-03-14 13:53:33 +11:00
templates/part Optionally hide 'revision' field (#4493) 2023-03-15 16:44:32 +11:00
templatetags Bypass cache when displaying settings on "settings" page (#4499) 2023-03-16 19:55:07 +11:00
__init__.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
admin.py Update BomItem 'validated' field (#4486) 2023-03-14 13:53:33 +11:00
api.py Update BomItem 'validated' field (#4486) 2023-03-14 13:53:33 +11:00
apps.py Part pricing cache (#3710) 2022-11-14 15:58:22 +11:00
bom.py Bom export with substitute part numbers (#4203) 2023-01-25 09:35:26 +11:00
filters.py Feature: Supplier part pack size (#3644) 2022-09-08 09:49:14 +10:00
forms.py Move Meta class to top of class definition (#4363) 2023-02-18 18:51:00 +11:00
models.py Update BomItem 'validated' field (#4486) 2023-03-14 13:53:33 +11:00
part.py Fixes and improvements for the part import wizard (#4127) 2023-01-01 22:03:43 +11:00
serializers.py Update BomItem 'validated' field (#4486) 2023-03-14 13:53:33 +11:00
settings.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
tasks.py [Feature] Stocktake reports (#4345) 2023-02-17 11:42:48 +11:00
test_api.py Unit test speed improvements (#4463) 2023-03-08 15:22:08 +11:00
test_bom_export.py [FR] Move URL endpoints to API namespace (#4163) 2023-01-07 23:23:38 +11:00
test_bom_import.py Unit test speed improvements (#4463) 2023-03-08 15:22:08 +11:00
test_bom_item.py Extend functionality of custom validation plugins (#4391) 2023-03-07 22:43:12 +11:00
test_category.py Unit test speed improvements (#4463) 2023-03-08 15:22:08 +11:00
test_migrations.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
test_param.py Part duplicate bug fix (#4370) 2023-02-20 18:48:55 +11:00
test_part.py Unit test speed improvements (#4463) 2023-03-08 15:22:08 +11:00
test_pricing.py Unit test speed improvements (#4463) 2023-03-08 15:22:08 +11:00
test_views.py Client side QR Codes (#4357) 2023-02-17 13:33:36 +11:00
urls.py [FR] Move URL endpoints to API namespace (#4163) 2023-01-07 23:23:38 +11:00
views.py Client side QR Codes (#4357) 2023-02-17 13:33:36 +11:00