Add link between corporation and its parent
This commit is contained in:
parent
d45742d88f
commit
73e3680da0
3 changed files with 22 additions and 2 deletions
|
|
@ -70,8 +70,8 @@ class CorporationAdmin(admin.ModelAdmin):
|
|||
list_editable = ('short_name',) # Temporarily?
|
||||
search_fields = ('name', 'pcode', 'city')
|
||||
ordering = ('name',)
|
||||
fields = (('name', 'short_name', 'sector'), ('typ', 'ext_id'), 'street', ('pcode', 'city'), ('tel', 'email'),
|
||||
'web', 'archived')
|
||||
fields = (('name', 'short_name'), 'parent', ('sector', 'typ', 'ext_id'),
|
||||
'street', ('pcode', 'city'), ('tel', 'email'), 'web', 'archived')
|
||||
inlines = [ContactInline]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue