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
|
|
@ -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"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue