Add member_id to registration_slot

This commit is contained in:
Youssef Elouahby 2018-11-02 02:00:33 +01:00
parent 231aa1c07e
commit f4bfa8afe9

View File

@ -29,5 +29,7 @@ class GolemActivityRegistrationSlot(models.Model):
activity_id = fields.Many2one('golem.activity', required=True,
string='Activity', ondelete='cascade',
index=True)
member_id = fields.Many2one('golem.member', string='Member',
ondelete='cascade', index=True)
hour_start = fields.Float('Start time')
hour_stop = fields.Float('Stop time')