* Fix URLs

- Remove leading slash
- Closes https://github.com/inventree/inventree-app/issues/780

* Bump release notes
This commit is contained in:
Oliver 2026-02-27 23:26:14 +11:00 committed by GitHub
parent 5339d6acc0
commit a38ec4cf0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
## 0.22.4 - February 2026
---
- Adds button to check server connection
- Fixes bug fetching sales order shipments
## 0.22.3 - February 2026
---

View file

@ -270,9 +270,9 @@ class InvenTreeSalesOrderShipment extends InvenTreeModel {
InvenTreeSalesOrderShipment.fromJson(json);
@override
String get URL => "/order/so/shipment/";
String get URL => "order/so/shipment";
String get SHIP_SHIPMENT_URL => "/order/so/shipment/${pk}/ship/";
String get SHIP_SHIPMENT_URL => "order/so/shipment/${pk}/ship/";
@override
Future<Object?> goToDetailPage(BuildContext context) async {
@ -345,7 +345,7 @@ class InvenTreeSalesOrderAllocation extends InvenTreeModel {
InvenTreeSalesOrderAllocation.fromJson(json);
@override
String get URL => "/order/so-allocation/";
String get URL => "order/so-allocation/";
@override
List<String> get rolesRequired => ["sales_order"];