2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 20:20:58 +00:00

Merge branch 'inventree:master' into matmair/issue2524

This commit is contained in:
Matthias Mair
2022-03-16 15:15:27 +01:00
committed by GitHub
26 changed files with 336 additions and 76 deletions

View File

@ -570,7 +570,7 @@ class BaseInvenTreeSetting(models.Model):
try:
value = int(self.value)
except (ValueError, TypeError):
value = self.default_value()
value = self.default_value
return value