forked from michel/Coworking
Many2many
This commit is contained in:
parent
d303d69b96
commit
539cedf663
@ -22,6 +22,8 @@ class Event(models.Model):
|
||||
('confirmed', 'Confirmed'),
|
||||
('canceled', 'Canceled')], default='draft')
|
||||
|
||||
participants_ids = fields.Many2many('coworking.coworker.name', string='Name')
|
||||
|
||||
|
||||
@api.constrains('date_end')
|
||||
def _check_date_end(self):
|
||||
|
@ -17,6 +17,7 @@
|
||||
<field name="duration" />
|
||||
<field name="description" />
|
||||
<field name="statut" />
|
||||
<fiels name="participant_ids" />
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
|
Loading…
Reference in New Issue
Block a user