2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 10:15:32 +00:00

Bug fix for stock item creation form

This commit is contained in:
Oliver
2022-01-05 14:58:04 +11:00
parent dcc7ee4eae
commit 25701c0c1c
4 changed files with 16 additions and 3 deletions

View File

@ -57,7 +57,7 @@ class _PaginatedStockItemListState extends PaginatedSearchState<PaginatedStockIt
Future<InvenTreePageResponse?> requestPage(int limit, int offset, Map<String, String> params) async {
// Do we include stock items from sub-locations?
final bool cascade = await InvenTreeSettingsManager().getBool("stockSublocation", true);
final bool cascade = await InvenTreeSettingsManager().getBool(INV_STOCK_SUBLOCATION, true);
params["cascade"] = "${cascade}";