From 419feb58c5e276047409f6520a4579add6955adf Mon Sep 17 00:00:00 2001 From: Fabien Bourgeois Date: Fri, 16 Sep 2016 16:14:10 +0200 Subject: [PATCH] [IMP]GOLEM Activity Session : 20 places per default, not 0 --- golem_activity_session/models/golem_activity_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golem_activity_session/models/golem_activity_session.py b/golem_activity_session/models/golem_activity_session.py index 7780c36..de4624b 100644 --- a/golem_activity_session/models/golem_activity_session.py +++ b/golem_activity_session/models/golem_activity_session.py @@ -185,7 +185,7 @@ class GolemActivitySession(models.Model): raise models.ValidationError(_('Start of the period cannot be ' 'after end of the period.')) - places = fields.Integer('Places', default=0) + places = fields.Integer('Places', default=20) places_remain = fields.Integer('Remaining places', store=True, compute='_compute_places_remain')