mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-10 12:16:12 +00:00
Fix for "installed in" display (#8480)
* Fix for "installed in" display
- Allow "details" field to be passed custom params
* Add extra debug to link checking
* API: fix for StockTrackingList entry
* Display links for stock items in tracking entry table
* Generate absolute links for item renderers
* Revert "Generate absolute links for item renderers"
This reverts commit 878fba91d0.
* Bump API version
* Add playwright tests
This commit is contained in:
1 parent
ac63b10197
commit
fbe222f6eb
8 files changed
+47
-5
No files matched your search
@@ -53,6 +53,8 @@ def check_link(url) -> bool:
|
||||
if url in cache:
|
||||
return True
|
||||
|
||||
print(f'Checking external URL: {url}')
|
||||
|
||||
attempts = 5
|
||||
|
||||
while attempts > 0:
|
||||
@@ -66,6 +68,8 @@ def check_link(url) -> bool:
|
||||
|
||||
attempts -= 1
|
||||
|
||||
print(f' - URL check failed with status code {response.status_code}')
|
||||
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user