mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-03-22 08:41:25 +00:00
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:
parent
934742efda
commit
3c8c263327
5 changed files with 47 additions and 24 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue