mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
PEP style fixes
This commit is contained in:
@ -486,7 +486,7 @@ class Build(MPTTModel, ReferenceIndexingMixin):
|
||||
|
||||
for output in self.complete_outputs:
|
||||
quantity += output.quantity
|
||||
|
||||
|
||||
return quantity
|
||||
|
||||
@property
|
||||
|
@ -9,11 +9,9 @@ from django.utils.translation import gettext_lazy as _
|
||||
from django.views.generic import DetailView, ListView
|
||||
|
||||
from .models import Build
|
||||
from . import forms
|
||||
|
||||
from InvenTree.views import AjaxUpdateView, AjaxDeleteView
|
||||
from InvenTree.views import AjaxDeleteView
|
||||
from InvenTree.views import InvenTreeRoleMixin
|
||||
from InvenTree.helpers import str2bool
|
||||
from InvenTree.status_codes import BuildStatus
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user