mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Form improvements
This commit is contained in:
parent
15b38000d5
commit
76ec44d770
@ -67,8 +67,8 @@ class SerializeStockForm(forms.ModelForm):
|
|||||||
""" Form for serializing a StockItem. """
|
""" Form for serializing a StockItem. """
|
||||||
|
|
||||||
destination = forms.ChoiceField(label='Destination', required=True, help_text='Destination for serialized stock (by default, will remain in current location)')
|
destination = forms.ChoiceField(label='Destination', required=True, help_text='Destination for serialized stock (by default, will remain in current location)')
|
||||||
serial_numbers = forms.CharField(label='Serial numbers', required=True, help_text='Unique serial numbers')
|
serial_numbers = forms.CharField(label='Serial numbers', required=True, help_text='Unique serial numbers (must match quantity)')
|
||||||
note = forms.CharField(label='Notes', required=False, help_text='Add transaction note')
|
note = forms.CharField(label='Notes', required=False, help_text='Add transaction note (optional)')
|
||||||
|
|
||||||
def get_location_choices(self):
|
def get_location_choices(self):
|
||||||
locs = StockLocation.objects.all()
|
locs = StockLocation.objects.all()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user