|
@@ -209,8 +209,8 @@ class ServiceAdmin(admin.ModelAdmin):
|
|
|
)
|
|
|
inlines = (ServiceAllocationInline,)
|
|
|
search_fields = ('=id', 'service_type__name', 'label', 'notes',)
|
|
|
- fields = ('adhesion', 'service_type', 'label', 'notes', 'get_contribution_link',)
|
|
|
- readonly_fields = ('get_contribution_link',)
|
|
|
+ fields = ('adhesion', 'service_type', 'label', 'notes', 'get_contribution_link', 'is_active',)
|
|
|
+ readonly_fields = ('get_contribution_link', 'is_active',)
|
|
|
raw_id_fields = ('adhesion',)
|
|
|
|
|
|
get_adhesion_link = lambda self, service: service.adhesion.get_adhesion_link()
|