This commit is contained in:
michel 2017-11-15 15:29:36 +01:00
parent e0ce682b3f
commit f3ddaaf2d8

View File

@ -11,9 +11,9 @@ class Event(models.Model):
_name = 'coworking.event'
_description = 'Event model definition'
_order = 'id asc'
_rec_name = 'title'
title = fields.Char(required=True)
_rec_name = 'title'
manager_id = fields.Many2one('coworking.coworker', 'Manager', index=True, required=True,
domain="[('coworker_type', 'in', ['staffer', 'member'])]")