[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 c0b4eacdb0
commit 6c34d1ebc4

View File

@ -191,7 +191,7 @@ class GolemActivitySession(models.Model):
raise models.ValidationError(_('Start of the period cannot be ' raise models.ValidationError(_('Start of the period cannot be '
'after end of the period.')) '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, places_remain = fields.Integer('Remaining places', store=True,
compute='_compute_places_remain') compute='_compute_places_remain')