From 52137f3829649898a8244df36c3a21061b7d0500 Mon Sep 17 00:00:00 2001 From: michel Date: Wed, 10 Jan 2018 17:48:23 +0100 Subject: [PATCH] [TPM] Membership type -> Link season --- golem_season/models/golem_season.py | 2 ++ golem_season/views/golem_season_views.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/golem_season/models/golem_season.py b/golem_season/models/golem_season.py index a16d2fe..7796569 100644 --- a/golem_season/models/golem_season.py +++ b/golem_season/models/golem_season.py @@ -28,6 +28,8 @@ class GolemSeason(models.Model): _('This season name has already been used.'))] name = fields.Char('Season name', copy=False) + + membership_id = fields.Many2one('product.product', 'Membership type') member_counter = fields.Integer('Counter for member number generation', readonly=True, default=1) date_start = fields.Date('Period start') diff --git a/golem_season/views/golem_season_views.xml b/golem_season/views/golem_season_views.xml index 19d2958..4aaf56d 100644 --- a/golem_season/views/golem_season_views.xml +++ b/golem_season/views/golem_season_views.xml @@ -35,6 +35,7 @@ along with this program. If not, see . +