2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Form for shipping a SalesOrder

- Returns "False" for now
This commit is contained in:
Oliver Walters
2020-04-24 10:20:56 +10:00
parent b45fec221c
commit 77471cb89c
13 changed files with 155 additions and 14 deletions

View File

@ -63,6 +63,17 @@ class CancelSalesOrderForm(HelperForm):
]
class ShipSalesOrderForm(HelperForm):
confirm = forms.BooleanField(required=False, help_text=_('Ship order'))
class Meta:
model = SalesOrder
fields = [
'confirm',
]
class ReceivePurchaseOrderForm(HelperForm):
location = TreeNodeChoiceField(queryset=StockLocation.objects.all(), required=True, help_text=_('Receive parts to this location'))