diff --git a/lemarche/tenders/admin.py b/lemarche/tenders/admin.py index 4ee2c767a..b645cbb71 100644 --- a/lemarche/tenders/admin.py +++ b/lemarche/tenders/admin.py @@ -336,12 +336,7 @@ class TenderAdmin(FieldsetsInlineMixin, admin.ModelAdmin): ), ( "Utilité du marché de l'inclusion", - { - "fields": ( - "scale_marche_useless", - "marche_benefits", - ) - }, + {"fields": ("scale_marche_useless",)}, ), ( "Status", @@ -359,6 +354,7 @@ class TenderAdmin(FieldsetsInlineMixin, admin.ModelAdmin): { "classes": ["collapse"], "fields": ( + "marche_benefits", "siae_list_last_seen_date", "source", "logs_display", diff --git a/lemarche/tenders/models.py b/lemarche/tenders/models.py index 4e907f8a6..e139f4efb 100644 --- a/lemarche/tenders/models.py +++ b/lemarche/tenders/models.py @@ -244,7 +244,7 @@ class Tender(models.Model): "created_at", "updated_at", ] - FIELDS_STATS = FIELDS_STATS_COUNT + FIELDS_STATS_TIMESTAMPS + [] + FIELDS_STATS = FIELDS_STATS_COUNT + FIELDS_STATS_TIMESTAMPS + ["marche_benefits"] READONLY_FIELDS = FIELDS_SURVEY_TRANSACTIONED + FIELDS_STATS # used in templates