forked from Yaltik/golem
[IMP]GOLEM Activity Session : 20 places per default, not 0
This commit is contained in:
parent
93d9b235e5
commit
419feb58c5
@ -185,7 +185,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