2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-04 06:18:48 +00:00

Form field rearrangement

This commit is contained in:
Oliver Walters 2019-06-02 20:07:30 +10:00
parent ba26acd487
commit 0b88953706
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ class Build(models.Model):
related_name='builds', related_name='builds',
limit_choices_to={ limit_choices_to={
'is_template': False, 'is_template': False,
'buildable': True, 'assembly': True,
'active': True 'active': True
}, },
help_text='Select part to build', help_text='Select part to build',

View File

@ -92,10 +92,10 @@ class EditPartForm(HelperForm):
'category', 'category',
'name', 'name',
'IPN', 'IPN',
'is_template',
'variant_of',
'description', 'description',
'keywords', 'keywords',
'variant_of',
'is_template',
'URL', 'URL',
'default_location', 'default_location',
'default_supplier', 'default_supplier',