mirror of
https://github.com/inventree/inventree-app.git
synced 2026-03-11 12:45:00 +00:00
Fix URLs (#783)
* Fix URLs - Remove leading slash - Closes https://github.com/inventree/inventree-app/issues/780 * Bump release notes
This commit is contained in:
@@ -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
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -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"];
|
||||||
|
|||||||
Reference in New Issue
Block a user