PEP fixes

This commit is contained in:
Oliver Walters 2019-06-05 21:56:52 +10:00
parent 04abe2b3d1
commit eced012ece
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ from __future__ import unicode_literals
from InvenTree.forms import HelperForm
from .models import PurchaseOrder, PurchaseOrderLineItem
from .models import PurchaseOrderLineItem
class EditPurchaseOrderLineItemForm(HelperForm):
@ -20,4 +20,4 @@ class EditPurchaseOrderLineItemForm(HelperForm):
'quantity',
'reference',
'received'
]
]

View File

@ -29,6 +29,7 @@ InvenTree | {{ order }}
</div>
</div>
<div class='col-sm-6'>
<h4>Purchase Order Details</h4>
<table class='table'>
<tr>
<td>Status</td>

View File

@ -11,7 +11,7 @@ from django.forms import HiddenInput
from .models import PurchaseOrder, PurchaseOrderLineItem
from .forms import EditPurchaseOrderLineItemForm
from InvenTree.views import AjaxCreateView, AjaxUpdateView, AjaxDeleteView
from InvenTree.views import AjaxCreateView, AjaxUpdateView
from InvenTree.status_codes import OrderStatus
@ -88,7 +88,6 @@ class POLineItemCreate(AjaxCreateView):
return form
def get_initial(self):
""" Extract initial data for the line item.