mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-04-17 16:10:34 +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:
parent
5339d6acc0
commit
a38ec4cf0d
2 changed files with 9 additions and 3 deletions
|
|
@ -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"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue