From b27084fe7359363e9efc2f9242e790d2864c9184 Mon Sep 17 00:00:00 2001 From: Fabien Bourgeois Date: Sun, 26 Jun 2016 06:34:08 +0200 Subject: [PATCH] [IMP]GOLEM Member multi-season management --- golem_member/models/golem_member.py | 1 + golem_member/views/golem_member_view.xml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/golem_member/models/golem_member.py b/golem_member/models/golem_member.py index c406daf..d4069a0 100644 --- a/golem_member/models/golem_member.py +++ b/golem_member/models/golem_member.py @@ -40,3 +40,4 @@ class GolemMember(models.Model): number = fields.Char('Number', size=50, index=True) pictures_agreement = fields.Boolean('Pictures agreement?') opt_out_sms = fields.Boolean('Out of SMS campaigns') + season_ids = fields.Many2many('golem.season', string='Seasons') diff --git a/golem_member/views/golem_member_view.xml b/golem_member/views/golem_member_view.xml index e09a957..75b6131 100644 --- a/golem_member/views/golem_member_view.xml +++ b/golem_member/views/golem_member_view.xml @@ -32,6 +32,9 @@ along with this program. If not, see . options="{'preview_image': 'image_medium', 'size': [90, 90]}" /> + + + @@ -121,11 +124,13 @@ along with this program. If not, see . + +