2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-08 12:50:55 +00:00

Add "default_expiry" field to Part model

This commit is contained in:
Oliver Walters
2021-01-04 23:36:11 +11:00
parent 692cee113c
commit 37dcf1c1cf
4 changed files with 73 additions and 8 deletions

View File

@@ -181,6 +181,7 @@ class EditPartForm(HelperForm):
'keywords': 'fa-key',
'link': 'fa-link',
'IPN': 'fa-hashtag',
'default_expiry': 'fa-stopwatch',
}
bom_copy = forms.BooleanField(required=False,
@@ -228,6 +229,7 @@ class EditPartForm(HelperForm):
'link',
'default_location',
'default_supplier',
'default_expiry',
'units',
'minimum_stock',
'trackable',