2
0
mirror of https://github.com/inventree/inventree-app.git synced 2026-03-11 12:45:00 +00:00
* 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
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 ## 0.22.3 - February 2026
--- ---

View File

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