mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
style fixing
This commit is contained in:
parent
792b2d11c0
commit
aac05db6bf
@ -12,7 +12,7 @@ from django.urls import reverse
|
|||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
from django.views.generic import DetailView, ListView, UpdateView
|
from django.views.generic import DetailView, ListView, UpdateView
|
||||||
from django.views.generic.edit import FormMixin
|
from django.views.generic.edit import FormMixin
|
||||||
from django.forms import HiddenInput
|
from django.forms import HiddenInput, IntegerField
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from decimal import Decimal, InvalidOperation
|
from decimal import Decimal, InvalidOperation
|
||||||
@ -1578,7 +1578,7 @@ class LineItemPricing(PartPricing):
|
|||||||
""" View for inspecting part pricing information """
|
""" View for inspecting part pricing information """
|
||||||
|
|
||||||
class EnhancedForm(PartPricing.form_class):
|
class EnhancedForm(PartPricing.form_class):
|
||||||
pk = IntegerField(widget = HiddenInput())
|
pk = IntegerField(widget=HiddenInput())
|
||||||
|
|
||||||
form_class = EnhancedForm
|
form_class = EnhancedForm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user