Skip to content

Commit

Permalink
Uncheck default stock location
Browse files Browse the repository at this point in the history
  • Loading branch information
eeintech committed Mar 5, 2024
1 parent 5012631 commit 4d12268
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kintree/gui/views/main.py
Expand Up @@ -568,23 +568,23 @@ class InventreeView(MainView):
disabled=not settings.ENABLE_INVENTREE,
),
'Stock location': DropdownWithSearch(
label='Stock location',
label='Stock Location',
disabled=not settings.ENABLE_INVENTREE,
dr_width=GUI_PARAMS['textfield_width'],
sr_width=GUI_PARAMS['searchfield_width'],
dense=GUI_PARAMS['textfield_dense'],
options=[],
),
'Stock quantity': ft.TextField(
label='Stock quantity',
label='Stock Quantity',
disabled=not settings.ENABLE_INVENTREE,
keyboard_type=ft.KeyboardType.NUMBER,
value="1",
value='1',
),
'Make stock location default': ft.Checkbox(
label='Make this the part\'s default location',
label="Set this location as the part\'s default location",
disabled=not settings.ENABLE_INVENTREE,
value=True,
value=False,
),
}

Expand Down

0 comments on commit 4d12268

Please sign in to comment.