Add InvenTreePluginViewMixin to PartIndex (#4843)
This commit is contained in:
parent
d5caa98936
commit
120a710ad4
|
|
@ -27,7 +27,7 @@ from .models import Part, PartCategory
|
|||
from .part import MakePartTemplate
|
||||
|
||||
|
||||
class PartIndex(InvenTreeRoleMixin, ListView):
|
||||
class PartIndex(InvenTreeRoleMixin, InvenTreePluginViewMixin, ListView):
|
||||
"""View for displaying list of Part objects."""
|
||||
|
||||
model = Part
|
||||
|
|
|
|||
Loading…
Reference in New Issue