mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
bug fix : correct setting name when changing a 'requires restart' setting
This commit is contained in:
parent
0ab9b2dbc7
commit
ff598a22ff
@ -571,7 +571,7 @@ class InvenTreeSetting(BaseInvenTreeSetting):
|
|||||||
super().save()
|
super().save()
|
||||||
|
|
||||||
if self.requires_restart():
|
if self.requires_restart():
|
||||||
InvenTreeSetting.set_setting('SERVER_REQUIRES_RESTART', True, None)
|
InvenTreeSetting.set_setting('SERVER_RESTART_REQUIRED', True, None)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Dict of all global settings values:
|
Dict of all global settings values:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user