Default filters (#749)

* Bug fix for filters

- Fix key shadowing

* Adjust default filters for stock list

* Adjust default filter values

* Add "active" filter for stock items

* Code formatting
This commit is contained in:
Oliver 2026-01-15 13:20:24 +11:00 committed by GitHub
parent 9002fb78d3
commit 74f468dc1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 24 additions and 9 deletions

View file

@ -133,6 +133,7 @@ class _PaginatedPurchaseOrderListState
"label": L10().outstanding,
"help_text": L10().outstandingOrderDetail,
"tristate": true,
"default": true,
},
"overdue": {
"label": L10().overdue,

View file

@ -115,6 +115,7 @@ class _PaginatedSalesOrderListState
"label": L10().outstanding,
"help_text": L10().outstandingOrderDetail,
"tristate": true,
"default": true,
},
"overdue": {
"label": L10().overdue,