[IMP]GOLEM Activity Session : 20 places per default, not 0
This commit is contained in:
parent
c0b4eacdb0
commit
6c34d1ebc4
@ -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')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user