forked from michel/Coworking
/
This commit is contained in:
parent
e0ce682b3f
commit
f3ddaaf2d8
@ -11,9 +11,9 @@ class Event(models.Model):
|
|||||||
_name = 'coworking.event'
|
_name = 'coworking.event'
|
||||||
_description = 'Event model definition'
|
_description = 'Event model definition'
|
||||||
_order = 'id asc'
|
_order = 'id asc'
|
||||||
|
_rec_name = 'title'
|
||||||
|
|
||||||
title = fields.Char(required=True)
|
title = fields.Char(required=True)
|
||||||
_rec_name = 'title'
|
|
||||||
|
|
||||||
manager_id = fields.Many2one('coworking.coworker', 'Manager', index=True, required=True,
|
manager_id = fields.Many2one('coworking.coworker', 'Manager', index=True, required=True,
|
||||||
domain="[('coworker_type', 'in', ['staffer', 'member'])]")
|
domain="[('coworker_type', 'in', ['staffer', 'member'])]")
|
||||||
|
Loading…
Reference in New Issue
Block a user