From f3ddaaf2d8cb143399f1f0a408ece0ba8899ba70 Mon Sep 17 00:00:00 2001 From: michel Date: Wed, 15 Nov 2017 15:29:36 +0100 Subject: [PATCH] / --- models/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/event.py b/models/event.py index e928ad3..8604a33 100644 --- a/models/event.py +++ b/models/event.py @@ -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'])]")