forked from michel/Coworking
Spécifications v2:il faudrait remettre manager_id en required
This commit is contained in:
parent
797bef0aee
commit
67c875e987
@ -13,7 +13,7 @@ class Event(models.Model):
|
||||
_order = 'id desc'
|
||||
|
||||
name = fields.Char('Title', required=True)
|
||||
manager_id = fields.Many2one('coworking.coworker', 'Manager', index=True,
|
||||
manager_id = fields.Many2one('coworking.coworker', 'Manager', index=True, required=True,
|
||||
domain="[('coworker_type', 'in', ['staffer', 'member'])]")
|
||||
date_start = fields.Datetime(default=fields.Date.context_today, required=True)
|
||||
starts_this_week = fields.Integer(compute='_compute_starts_this_week',
|
||||
|
Loading…
Reference in New Issue
Block a user