Image url fix (#765)

* Bump release notes

* Improve URL resolution

* Add URL tests

* Add debug for CI

* Fix stock adjustment URLs

* Fix barcode URLs
This commit is contained in:
Oliver 2026-02-05 21:08:12 +11:00 committed by GitHub
parent 934742efda
commit 3c8c263327
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 47 additions and 24 deletions

View file

@ -534,19 +534,19 @@ class InvenTreeStockItem extends InvenTreeModel {
}
Future<bool> countStock(double q, {String? notes}) async {
final bool result = await adjustStock("/stock/count/", q, notes: notes);
final bool result = await adjustStock("stock/count/", q, notes: notes);
return result;
}
Future<bool> addStock(double q, {String? notes}) async {
final bool result = await adjustStock("/stock/add/", q, notes: notes);
final bool result = await adjustStock("stock/add/", q, notes: notes);
return result;
}
Future<bool> removeStock(double q, {String? notes}) async {
final bool result = await adjustStock("/stock/remove/", q, notes: notes);
final bool result = await adjustStock("stock/remove/", q, notes: notes);
return result;
}
@ -563,7 +563,7 @@ class InvenTreeStockItem extends InvenTreeModel {
}
final bool result = await adjustStock(
"/stock/transfer/",
"stock/transfer/",
q,
notes: notes,
location: location,