Support logical and custom status fields for models (#758)

* Support logical and custom status fields for models

* Update release notes
This commit is contained in:
Oliver 2026-01-22 23:35:09 +11:00 committed by GitHub
parent 772c88170e
commit c5bf4be3d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 19 additions and 6 deletions

View file

@ -57,10 +57,6 @@ class InvenTreeOrder extends InvenTreeModel {
bool get hasProjectCode => projectCode.isNotEmpty;
int get status => getInt("status");
String get statusText => getString("status_text");
double? get totalPrice {
String price = getString("total_price");