InvenTree/InvenTree/build/admin.py
Oliver 0b40197cd2 Update 'Build'
- Part model now has active_builds and inactive_builds properties
-
2018-04-17 20:25:43 +10:00

22 lines
479 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
from .models import Build
class BuildAdmin(admin.ModelAdmin):
list_display = ('part',
'status',
'batch',
'quantity',
'creation_date',
'completion_date',
'title',
'notes',
)
admin.site.register(Build, BuildAdmin)