[IMP]GOLEM Activity Session : 20 places per default, not 0

This commit is contained in:
Fabien Bourgeois 2016-09-16 16:14:10 +02:00
parent 93d9b235e5
commit 419feb58c5

View File

@ -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')