mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
9a35293126
commit
ca1985e11a
@ -41,7 +41,6 @@ from InvenTree.helpers import decimal2string, normalize
|
|||||||
|
|
||||||
from InvenTree.status_codes import BuildStatus, PurchaseOrderStatus
|
from InvenTree.status_codes import BuildStatus, PurchaseOrderStatus
|
||||||
|
|
||||||
from report import models as ReportModels
|
|
||||||
from build import models as BuildModels
|
from build import models as BuildModels
|
||||||
from order import models as OrderModels
|
from order import models as OrderModels
|
||||||
from company.models import SupplierPart
|
from company.models import SupplierPart
|
||||||
|
@ -16,12 +16,12 @@ from django.conf import settings
|
|||||||
from django.core.validators import FileExtensionValidator
|
from django.core.validators import FileExtensionValidator
|
||||||
from django.core.exceptions import ValidationError
|
from django.core.exceptions import ValidationError
|
||||||
|
|
||||||
|
from stock.models import StockItem
|
||||||
|
|
||||||
from InvenTree.helpers import validateFilterString
|
from InvenTree.helpers import validateFilterString
|
||||||
|
|
||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
from part import models as PartModels
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from django_weasyprint import WeasyTemplateResponseMixin
|
from django_weasyprint import WeasyTemplateResponseMixin
|
||||||
except OSError as err:
|
except OSError as err:
|
||||||
@ -163,6 +163,7 @@ class ReportTemplateBase(models.Model):
|
|||||||
class Meta:
|
class Meta:
|
||||||
abstract = True
|
abstract = True
|
||||||
|
|
||||||
|
|
||||||
class TestReport(ReportTemplateBase):
|
class TestReport(ReportTemplateBase):
|
||||||
"""
|
"""
|
||||||
Render a TestReport against a StockItem object.
|
Render a TestReport against a StockItem object.
|
||||||
|
Loading…
Reference in New Issue
Block a user