[FIX]GOLEM Activity Registration : do not required boolean
This commit is contained in:
parent
6cb4d02808
commit
429302448f
@ -18,7 +18,7 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Activity Member Registrations',
|
'name': 'GOLEM Activity Member Registrations',
|
||||||
'summary': 'GOLEM Activities Member Registrations management',
|
'summary': 'GOLEM Activities Member Registrations management',
|
||||||
'version': '10.0.1.5.0',
|
'version': '10.0.1.5.1',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois, Michel Dessenne',
|
'author': 'Fabien Bourgeois, Michel Dessenne',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
|
@ -43,7 +43,7 @@ class GolemActivity(models.Model):
|
|||||||
index=True)
|
index=True)
|
||||||
places_used = fields.Integer('Places used', compute='compute_places_used',
|
places_used = fields.Integer('Places used', compute='compute_places_used',
|
||||||
store=True)
|
store=True)
|
||||||
only_for_subscriber = fields.Boolean(required=True)
|
only_for_subscriber = fields.Boolean(default=False)
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
@api.depends('activity_registration_ids')
|
@api.depends('activity_registration_ids')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user