Browse Source

Display the reference of the offers in the Member view

daimrod 8 years ago
parent
commit
8d67b4efaf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      coin/members/admin.py

+ 2 - 2
coin/members/admin.py

@@ -35,8 +35,8 @@ class MembershipFeeInline(admin.TabularInline):
 class OfferSubscriptionInline(admin.TabularInline):
     model = OfferSubscription
     extra = 0
-    readonly_fields = ('subscription_date', 'resign_date', 'commitment',
-                       'offer', 'show_change_link')
+    readonly_fields = ('get_subscription_reference', 'subscription_date', 'resign_date',
+                       'commitment', 'offer', 'show_change_link')
 
     # FIXME: Workaround en attendant la migration vers Django >=1.8
     # À remplacer par InlineModelAdmin.show_change_link = True