2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 19:45:46 +00:00

Edit new stock settings on settings page

This commit is contained in:
Oliver Walters
2021-01-05 00:59:10 +11:00
parent 855098e30b
commit 1335c85de1
2 changed files with 13 additions and 3 deletions

View File

@ -156,6 +156,10 @@ class InvenTreeSetting(models.Model):
'PART_VIRTUAL': {
'name': _('Virtual'),
'description': _('Parts are virtual by default'),
'default': False,
'validator': bool,
},
'STOCK_ALLOW_EXPIRED_SALE': {
'name': _('Sell Expired Stock'),
'description': _('Allow sale of expired stock'),