diff --git a/golem_season/__manifest__.py b/golem_season/__manifest__.py index bb58a2e..1abf51e 100644 --- a/golem_season/__manifest__.py +++ b/golem_season/__manifest__.py @@ -18,7 +18,7 @@ { 'name': 'GOLEM seasons', 'summary': 'GOLEM non-profit seasons management', - 'version': '10.0.1.0.0', + 'version': '10.0.1.0.1', 'category': 'GOLEM', 'author': 'Fabien Bourgeois', 'license': 'AGPL-3', diff --git a/golem_season/models/golem_season.py b/golem_season/models/golem_season.py index ecfd059..98d6014 100644 --- a/golem_season/models/golem_season.py +++ b/golem_season/models/golem_season.py @@ -28,11 +28,8 @@ class GolemSeason(models.Model): _('This season name has already been used.'))] name = fields.Char('Season name', copy=False, required=True) - membership_id = fields.Many2one('product.template', 'Membership type', - domain="[('membership', '=', True)]") - - + domain=[('membership', '=', True)]) 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 698fbe2..7864c94 100644 --- a/golem_season/views/golem_season_views.xml +++ b/golem_season/views/golem_season_views.xml @@ -35,8 +35,8 @@ along with this program. If not, see . - +