mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
be6b1ae2f8
- Display list of line items - Add a form to create a new line item
23 lines
466 B
Python
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'
|
|
] |