InvenTree/InvenTree/order/forms.py
Oliver Walters be6b1ae2f8 Updates for purchase order line items
- Display list of line items
- Add a form to create a new line item
2019-06-05 20:59:30 +10:00

23 lines
466 B
Python

"""
Django Forms for interacting with Order objects
"""
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from InvenTree.forms import HelperForm
from .models import PurchaseOrder, PurchaseOrderLineItem
class EditPurchaseOrderLineItemForm(HelperForm):
class Meta:
model = PurchaseOrderLineItem
fields = [
'order',
'part',
'quantity',
'reference',
'received'
]